Assignment 3: PathTracer

Raymond Chau

In this assignment, I implemented light reflection for mirror materials and refraction for glass materials. This allows me to render objects that reflect or refract light which creates beautiful looking scenes. In addition, I also implemented microfacet materials with the ability to change the alpha, or roughness, of the material. Altering the alpha makes the material more glossy or matte.

Part 1: Ray Generation and Intersection

Part 2: Microfacet Material