-What this script does?
-The script postprocess a rendered image(with Blender) blurring in base of the z-depth
of the current scene.
Requires PIL(Python Image Library) www.pythonware.com
-How this script works?
-THIS WORKS ONLY IF THE TEXT WINDOW IS IN FULL SCREEN.
(mouse over the text window and press Ctrl + DownArrow)
-Render the current scene an save the image.
-Press the button "open" and select the rendered file image
-Insert an int value for the maximum blur.Its the blur for the maximum depth.
-If select the "Save B/W" toggle button in the same path of the original image
will be saved a grayscale image (named bw.jpg) of the zdepth.
-Select an object which will determine the focus distance from camera.
-Click on "DOF" button and wait ...It may need some minutes,especially for the large images.
The script exit when finished.Check the console for confirm Get PostDOF script example