CS 419 Production Computer Graphics

MP5

Path Tracing and Irradiance Caching

Due: December 12, 11:55pm For 4 Credit Students Only

Cornell Box

For your 4 credit programming assignment you will:

  1. Create a scene matching the Cornell Box. You can find data for the geometry here. You needn’t match the surface reflectances exactly, but your model should look very close to the image above. The surfaces can all be diffuse materials, with just the one overhead area light.

  2. Implement a path tracer. See Ray Tracing from the Ground Up Chapter 26 Global Illumination. To speed up convergence, you can compute direct lighting and indirect lighting separately, as the book does. You might also want to try Russian Roulette but that is not required.

  3. Implement irradiance caching. See Practical Global Illumination with Irradiance Caching by Krivaenk and Gautron. You only need to implement the basic algorithm, although if you have time you might wish wish to implement irradiance gradients. I would strongly suggest implementing a two-pass algorithm. Your render will likely not be perfect and that is fine. It should be good. You will likely need to experiment with parameters (the error term and weights), so give yourself time to work on this and use small image sizes for experiments and larger for your final render.

Hand-in

You will hand in your code and 3 sets of images:

You also need to write a brief technical report

Write a report that:

Hand-in will be done on Compass.

Rubric

Feature Points
Model the Box 5
Path Tracer 5
Irradiance Caching 5
Technical Report 5
TOTAL 20