Thursday, December 4, 2008

Jeff Russell Depth Of Field example

Depth of field came up on the gdalgorithms list. Jeff Russell caught the thread and replied with some screen shots from his brute force O(n^2*m^2) blur, with nice circles of confusion. I'm posting it here to make a few comments:



Sure, there are the typical DOF artifacts (halos, alpha object discontinuities, ...), but:
  • Top Left: Check out the trees, they look "right". The small highlights on leaves, or of sky through leaves, has that distinctive look that Gaussian blurs don't capture.
  • Center Left: Most of the scene is mush, but the enemies show distinctive disk highlights on points and lines.