DoF - Depth of Field demo for Ogre

DoF - Depth of Field demo for OgreBasically it’s a plug’n'play depth of field effect that can be applied to a viewport in Ogre. You can set the focal plane, near and far blur distances etc. The technique is based on Advanced Depth of Field. Click the image to the right for a larger screenshot.

Downloads

v0.1.4 (July 18th, 2006)
One more bugfix for Direct3D. If you have problems running this on non-SM3 hardware, please change the target for the fragment program DoF_DepthOfFieldFP_HLSL to ps_2_b in media/DoF.program as pointed out by ahmedismaiel here.

v0.1.3 (July 8th, 2006)
Added Direct3D support and fixed problems on ATI cards.

v0.1.2 (June 10th, 2006)
This version includes testing of materials using vertex and fragment programs.

v0.1.1 (March 08th, 2006)
Among other things, this version also includes, thanks to Ryan Booker (eyevee99), a physically correct lens system so it’s possible to adjust focal length, aperture etc.

v0.1.0 (March 04th, 2006)
Initial release.