Realistic Ray Tracing

Homework 1 - Monte Carlo Summation
Homework 2 - Monte Carlo Integration
Homework 3 - Macbeth Color Checker XYZ
Homework 4 - Macbeth Color Checker
Homework 5 - Cornell Box
Homework 6 - Ward BRDF
Homework 7 - Mixture Density
Homework 8 - Participating Medium
Homework 9 - Rayleigh Scattering
Homework 10 - Subsurface Scattering
Homework 11 - Dielectric Material
Homework 12 - Final Image

Homework 5 - Path Trace Cornell Box

The images below are spectral ray traced images of the cornell box with 6400 samples per pixel. The ray tracer is implemented such that after the spectral XYZ channels are evaluated for each pixel, a user may further specify the exposure level and the gamma scale. The exposure setting maps the average Y channel value to a given middle grey value (similar behavior as a digital camera), the default middle grey is .18. Below are the resultant images, first varying the exposure level, and the second row varies the gamma correction value.
middle grey (.08) gamma (2.2)
middle grey (.18) gamma (2.2)
middle grey (.42) gamma (2.2)
middle grey (.32) gamma (1.8)
middle grey (.32) gamma (2.2)
middle grey (.32) gamma (2.4)