Assignment 3: PathTracer

Ziye Zhong

The project is built based on the ray tracer from Project 3-1. The renderer is now able to render mirror and glass models, and can also render with depth of field effect.

The implementation of mirror models involves perfect specular reflection of the light, and glass models involves refraction. In the part of depth of field, I used a thin lens camera model instead of the pinhole camera model, to achieve the focus effect. After implementing these parts, I now have a better understanding of the relationship between the material and the light.


Part 1: Mirror and Glass Materials


Part 4: Depth of Field