Basic Shading

The following image was rendered by the C++ raytracer. It was rendered at a 2x sampling and shows that we can now render polygons.

The following image was rendered at a 2x sample and is showing our diffuse lighting on 5 spheres and one polygon with one light.

The following image was rendered at a 2x sample and is showing our specular lighting with a negated non-normalized camera vector.

The following image was rendered at a 2x sample and is showing our specular lighting without ambient or diffuse.

The following image was rendered at a 2x sample and is showing our ambient, diffuse, and specular highlight.

The following image was rendered at a 2x sample and is showing our ambient, diffuse, and specular highlight for two lights (different n and k values for specular than the previous image).