Range POV-Ray Patch (Release 2001/1/9)
This is a source code patch for a free raytracer POV-Ray(TM)
to output range data (depth data).
All you do is to download POV-Ray source code, overwrite the original Render.C with the provided one
and recompile it.
As you see in the figure above, the result is stored as 24bit greyscale image.
Therefore depth variety is only 256 steps(1 for background) at most.
Detailed usage explanation is given in the extracted Readme.txt.