Houdini 12
Nodes
VEX nodes
RenderMan Z-Depth From Camera
VEX node
See the RSL
depth()
function in the RenderMan documentation.