DepthMatte
Saves an image that represents the current environment ranges in the scene by changing all objects in the scene to a black matte color and rendering the scene with white fog. Good for doing postprocess fog and postprocess depth of field.
DepthMatte has been replaced with Atmpass
For a max 5 - 4.2 version of this script - please download bspack_r4_r5_v031.zip. Use the original bspack_r42.zip if you want only max 4.2 compatibility.
The only major differences between script packages are slight version compatibility issues - there are no new scripts added between the 3 packages.