MM_Depth_Pass Plugin
- September 2nd, 2010
- Write comment
MM_Depth_Pass creates a Depth Pass that can be used to create Depth of Field effects in compositing. The main advantage of this script is that if gives precise control over the depth range. Everybody who ever tried to create a proper depth pass with the build-in preset pass knows that it’s crap, and very hard to control. The other option would be mental rays depth channel. The main problem with the channel comes from the fact that it calculates the depth range for each frame, based on the scene objects and independently from their distance to the camera. See the pictures below:
This results in a depth pass with a permanently animated focal point. Sometimes that’s what you want, but most of times it’s not.
Usage:
Simply select your camera and go to Render -> Pass -> Edit -> New Pass -> MM_Depth_Pass.
The script tries to recognize the closest and most distant object, and usually gives you a good starting point. A Spot light called “Depth Controller” is created an linked to the camera. Now simply press ‘b’ to interactively control your depth range.
Installation:
Simply put the script into Application\plugins of your user or workgroup folder. Hit “Update All” in the plugin manager or restart softimage.





