KIM DYLLA and BEN MILLER
of CS 445 withGreg Humphreys
Proudly Present Project III:


RAY TRACER

10101010100101010101010101010010101010101010100111101001010010101010101010100101010101010101010



DOWNLOAD
- ZIP FILE CONTAINING SOURCE CODE


This zip file contains all the source code, the .exe file, sample images produced from the test files which are also included.



-PROCESS-

Our ray tracer takes a simple .txt style input file- a scene, containing vertices and materials
definining spheres, triangles, and normal triangles, and applies ambient light, direct light, point light,
and spot light to those primitives by shooting rays and calculating the reflection and the refraction.
Our program also allows the user to arbitrarily set the camera angle, film resolution, and background color.
To render these objects and the realistic lighting thereupon
, we parse through the scene file, creating vectors of primitives
 and light objects. For each, we send rays from the camera or the origin of a light source through the view plane,
to find out if the rays intersect any of the objects in the vector of primitives.  If so, then the correct type of ligthing is applied,
 calculating the falloff, reflection, and refraction, and the entire scene, complete with realistic lightintg, is rendered to a bitmap.



SAMPLE IMAGES CREATED THROUGH OUR RAY TRACER


outdoor              test reasonable


point sphere           double sphere



010101010101001010010101010101010101010101010010101010010101010101010101010101001010101010101001