Tuesday, December 14, 2010

Ray Tracer Part 2: Setting Up the Camera

So in the previous part I found a whole bunch of values for my scene including the camera position, objects positions, etc, but in the end, it actually wasn’t all to helpful because of the FOV being much different. In the end, I setup a brand new scene in my world simply by trial and error. It turned out quite well.

Below are the results of my scene, rendered at 800x800. On the left is the normal scene, on the right is the image rendered with supersampling (9 rays per pixel).

regularsupersampled

I also noticed I can’t spell Raytracer (see “Raytracter” in the title bar) so that has been corrected for future builds.