Outputting a depth map from Maya and creating depth of field in After Effects

Create a render layer that contais the objects that will be blurred. Use “Luminance Depth” preset.

The depth map render will look something like this. A gradient, which describes depth. Objects further from the camera are shaded increasingly darker.

Bring your color render and the depth map into a composition in After Effects. You can switch off the visibility of the depth map layer. It will only be used by the Lens Blur Effect to guide hich areas will receive blur.

Apply the Lens Blur effect to the color render layer. Select the depth map layer as the “Depth Map Layer”.

Adjust attributes to get the result needed. Here only the “Blur Focal Distance” (focus region distance from camera) and the ” Iris Radius”(blur amount) were adjusted.

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>