|
|
Am 28.10.2017 um 02:40 schrieb cjaramillo:
> Hi, Ankur. Did the POV-Ray maintainers ever let you merge your depth map
> generation patch into the official code? I'm looking for a way to achieve
> generating depth maps for the rendered files as you did for the ICL-NUIM
> dataset.
So far, official POV-Ray does not have any such feature.
You /can/ create depth maps "out of the box" though, provided you have
control over the scene's textures.
To do that, use `finish { diffuse 0 specular 0 phong 0 ambient 0
emission 1 }`, and a gradient pigment rotated and translated in such a
way that it aligns with the camera.
Make sure to render to a 16-bit image format or OpenEXR, or your depth
map precision will be pretty low.
Post a reply to this message
|
|