Real-Time Depth-of-Field on the GPU

Matt Tasker
CS638: Interactive Computer Graphics II
Project Final Report

Running the program

Unzip the program into a directory of your choosing, making sure to preserve the paths contained in the ZIP file.
Double-click on doftest.exe and the main window will appear. The program starts in no-depth-of-field mode. Errors and other messages are logged to a file called verbose.log in the current working directory.

Controls

Common controls

F1Switch to no-depth-of-field mode.
F2Switch to accumulation buffer mode.
F3Switch to reverse-mapped z-buffer mode. [BROKEN]
Up arrowLook up
Down arrowLook down
Left arrowTurn left
Right arrowTurn right
WMove forward
SMove backwards
TabToggle freelook mode (use the mouse to manipulate the camera)
ESCQuit

Controls for accumulation buffer mode

Numpad +Increase distance to focal plane
Numpad –Decrease distance to focal plane
FToggle display of focal plane
JAdjust jitter (distance between camera viewpoints)

Controls for reverse-mapped z-buffer mode

Numpad +Increase distance to plane in focus
Numpad –Decrease distance to plane in focus
< or ,Decrease f-stop (and thus aperture)
> or .Increase f-stop
[ or {Decrease focal length
] or }Increase focal length
SpaceToggle full depth-of-field display and depth buffer display


Last updated May 18, 2005