Extend Assignment 5 to include a depth-of-field effect
Display your smf model several times at various depths in your scene
Implement the effect by jittering your camera and compositing the images into the accumulation buffer
You'll probably find the code in dof.c to be very useful. It generates the image below.
Last modified February 26, 2010.