Hardware Rendering Competition 2004/2005

by Yury Chebiryak

Motion Blur [source]

This program demonstrates use of the accumulation buffer to create an out-of-focus depth-of-field effect. The teapots are drawn several times into the accumulation buffer. The viewing volume is jittered, except at the focal point, where the viewing volume is at the same position, each time. In this case, the gold teapot remains in focus.

The implementation of effect is based on ideas in "The OpenGL Programming Guide - The Redbook". The user is able to change the number of jitter point during runtime and focus distance. After some change scene first draw sharp and then jittered in accumulation buffer in order to get depth of field effect.

Some screenshots: