I'm trying to achieve DOF using Blender Internal 2.75a. Everything seems to work, except that the F-stop doesn't seem to do anything, nor in the Defocus node nor in the camera DOF settings. I just get a uniform blur, no focus plane. I followed tutorials and read some posts but couldn't find the correct solution. See the image for my settings. Note that I am focusing on the Eyes object. How to make it work?
Plug the Z pass directly to the Z input on the Defocus Node.
Control the focus distance on the camera settings. Choose and Object to focus on or set a distance. Note that if you choose an object the camera will focus at the object's origin.)
Every time you change any of the camera settings RENDER THE IMAGE, otherwise the compositor will not update.
The Max blur setting controls the amount of blur in pixels. Larger numbers will yield more blur, but will also take longer to render.
The F-Stop controls the depth of field.
A smaller F-stop number will result in more critical focus, with in objects closer to the camera or further away form the focus point getting blurrier faster.
A larger F-stop number will result in sharper objects in front or away from the focus point.
Setting the focus point with an object:
All of this is designed to work on a "normal" scale. If your scene is Huge those parameters don't work as well. In your case your scene is so big that all objects are several hundred meters, but you've set your scene scale settings to 0.001. The objects will display nice but they are still large (at least when it comes to how depth of field works)... The camera is focusing so far that to have a meaningful blur the F-stop would need to be a very small number, around 0.1 or less (give it a try and see things defocus). The problem then becomes finding the correct focus point, nothing seems to be in focus anymore...
Scale all of the objects in the scene to 1000th of its size (Press A to select all and then S . 0 0 1) and reset the scale on the scene back to 1, and ta-da! The defocus node works like a dream.