Depth of Field (Legacy)

2D Modifier  -  Depth of field effect

DepthOfFieldTextureModifier DepthOfFieldTextureModifier DepthOfFieldTextureModifier DepthOfFieldTextureModifier

Use the composition depth buffer in order to create a depth of field. This modifier uses the focus distance of the CameraV9 Icon Camera

You can vizualize the depth of field with colors by checking this option:

DoFviz DoFviz

Go check BlurTextureModifier Icon Legacy Blur part of the documentation for further details about the parameters.


Variables:

  • Visualize Layers: Colorize the depth to visualize each “layer” of the depth of field (legacy)
  • Blur Layer Visualization: Give a precise view of the Blur region area
  • Focus Parameters: Focus parameters of the depth of field (legacy)
  • Near Blur: Near blur transition
  • Far Blur: Far blur transition

Python

    Oil.createObject("DepthOfFieldTextureModifier")