Basic Whitted-style Raytracer


Here are two sample images from my raytracer using the given models. There are a lot of artifacts in the second image from ray self-intersections with the transparent sphere causing the "surface acne" that Eric Haines mentioned. The shadowing is also not done properly with the transparent sphere. These issues will be fixed in the next version of the raytracer.

Model 1

Model 2

Download the code.