Difference between revisions of "UnknownX"

From CDOT Wiki
Jump to: navigation, search
(Assignment 1 Ray Tracing)
(Assignment 1 Ray Tracing)
Line 51: Line 51:
 
Video card: NVIDIA GTX 1060 6GB<br/>
 
Video card: NVIDIA GTX 1060 6GB<br/>
  
 +
----
 +
Program: raytracing.cpp from scratchpixel.com tutorial on basic raytracing.
 +
website along with source code location: [https://www.scratchapixel.com/code.php?id=3&origin=/lessons/3d-basic-rendering/introduction-to-ray-tracing]
 +
----
 +
Compilation
 +
 +
Unix -
 +
      g++ -O2 -o raytrace raytracer.cpp
 +
      raytrace
 +
OSX  -
 +
      clang++ -O2 -o raytrace raytracer.cpp
 +
      raytrace
  
 
----
 
----
 +
From the compilation it creates this
  
 
== Assignment 2 ==
 
== Assignment 2 ==
  
 
== Assignment 3 ==
 
== Assignment 3 ==

Revision as of 13:21, 13 March 2017

TBD...

Team Member

  1. Kevin Pham
  2. Jay Zha
  3. Peiying Yang
eMail All

Progress

Assignment 1

FileCompressor

Environment:
System: Windows 10
CPU: i5-6400 2.70GHz
RAM: 8GB 2444Hz
Video card: NVIDIA GTX 1060 3GB


The size of file before compressing is 128MB After:65.2MB (Depend on the file)
Ab.PNG


Here is the major code to compress a file :

Code.PNG
The following image shows that the CompressCore function takes 99.55% of the time to compress a 128MB file.
Percentage.PNG


As the size of file increase, the time that this program spend on compressing a file will increase.
Record.PNG



Assignment 1 Suduko


Assignment 1 Ray Tracing

Environment:
System: Windows 10
CPU: i7-6700HQ 2.60GHz
RAM: 16GB 21337Hz
Video card: NVIDIA GTX 1060 6GB


Program: raytracing.cpp from scratchpixel.com tutorial on basic raytracing. website along with source code location: [1]


Compilation

Unix -

      g++ -O2 -o raytrace raytracer.cpp
      raytrace

OSX -

      clang++ -O2 -o raytrace raytracer.cpp
      raytrace

From the compilation it creates this

Assignment 2

Assignment 3