Here is the assignment handout for Homework 4.
Here is the framework for the assignment.
The assignment refers to some test scenes, which are listed below together with the output from my implementation of the assignment.
First, the four numerical-answer scenes dicsussed in the assignment:
An all-diffuse test scene with three spheres and two light sources:
The following images were computed at 100 samples per pixel:
From left to right: BRDF sampling; luminaire sampling; multiple importance.
The same scene with a specular highlight on each material:
The following images were computed at 100 samples per pixel:
From left to right: BRDF sampling; luminaire sampling; multiple importance.
A scene illuminated by a wall-like luminaire (similar to V&G's Figure 6):
The following images were computed at 16 samples per pixel:
From left to right: BRDF sampling; luminaire sampling; multiple importance.
A scene with materials of different roughness illuminated by lights of different size (similar to V&G's Figure 2):
From left to right: BRDF sampling; luminaire sampling; multiple importance.
A 7000-triangle teapot illuminated by a square light source:
The following image was computed at 100 samples per pixel using luminaire sampling: