
“This tutorial shows 3 different methods to create height and depth grayscale representations of a maya scene, which may be useful in many cases such as adding depth of field or fog in post production.”
http://www.3dtotal.com/team/Tutorials_3/wilting_leaf/wilted_leaf01.php