Depth Of Field

 
 
 

Simulates a camera's depth of field, according to a Z depth input, by manipulating the focal length, near and far foci, strength of the effect, radius of the circle of confusion, and range of Z values.

Requires an Input (RGBA) and a Z Depth input (A).

Produces an Output (RGBA).

Depth of Field

Focal Length

Determines the focal length of the lens. A lens with a shorter focal length gives a greater depth of field than a lens with a longer one.

Near Focus

Defines the front (start) distance of the focus area.

Far Focus

Defines the back (end) distance of the focus area.

Strength

Controls how powerful the depth of field will be, given the defined focal distance.

Max Circle of Confusion

Controls the scaling factor of the circle of confusion (unfocused area).

Antialiasing

Defines the level of antialiasing to be performed.

Z Values Range

Controls the active range in which depth is calculated. A 2D image does not contain the same depth information as a 3D scene, so the Z Values Range translates Near and Far Focus values into values that fit into the 2D image's 0 to 1 range. The default value is appropriate for most cases.

Mask

Controls this operator's Mask Options.

Output

Controls this operator's Output Options.