Ray-Tracer Results


This page is designed to give you a sense of what your images should look like. In particular, it will show you the results that you should be getting as your progress through the implementations of the different features of the ray tracer. For all of these images, it is assumed that you have called:

% Assignment2 --in test.directional.ray --out test.bmp --width 640 --height 480 --rLimit 5 --cutOff 0.0001
to generate the image output to test.bmp. (You can download the necessary .ray files here.)


If you have implemented the methods for the Intersection and Difference classes, your ray-tracer on lens.ray should look like:


Once you have implemented your accerelated ray-tracer, you may want to try running it on some of the more complex models. It is not recommended that you try running your ray-tracer on these models if you have not implemented acceleration. The models consist of thousands of triangles and will take just shy of forever to ray-trace without acceleration.