POV-Ray : Newsgroups : povray.unofficial.patches : POVRay 3.7 with depth-map unofficial patch release : Re: POVRay 3.7 with depth-map unofficial patch release Server Time
26 Apr 2024 02:30:31 EDT (-0400)
  Re: POVRay 3.7 with depth-map unofficial patch release  
From: clipka
Date: 28 Oct 2017 07:14:02
Message: <59f4667a$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.