An alternative to these solutions is to modify the pov-ray source to do
this. The distance a ray has travelled is returned already by the
ray-tracing function, so its a very simple modification to set the pixel
output to this. This might be a easier solution if you need a very accurate
depthmap or need to customise the map further. Unless you've looked at the
Pov-ray source before, though, Tim's method is less hassle.
-Chris
Post a reply to this message
|