Skip to content

wallisc/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christopher Wallis
CPE473 
Project 4

All parts of the ray tracer are working as expected. 

Current implemented features are:
 * Adjustable Camera
 * Anti-Alias using stratified super samples
 * Point lights, spheres, boxes, infinite planes, triangles, and smooth_triangles
 * Phong Shading and Cook-Torrance shading
 * Reflections and refractions
 * Shadows
 * BVH that gets created in parallel 

Flags supported are:
   [width]    (optional) image width
   [height]   (optional) image height 

   -I [file]  Specify input file
   -O [file]  (optional) Specify output file 

   -p         (optional)Use phong shading
   -t         (optional)Use cook-torrance
   -s         (optional)Specify a sample rate (default is no anti-liasing)

   --help     print out readme instructions


All times are with no anti-aliasing

Time for dragon_large_tris.pov 
real  0m1.230s
user  0m0.981s
sys   0m0.106s

Time for balls2.pov
real  0m1.875s
user  0m1.749s
sys   0m0.092s

Time for bunny_tasty.pov
real  0m8.995s
user  0m8.857s
sys   0m0.106s


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published