|
|
> Dear all,
>
> For a technical project I am doing concerning stereo reconstruction, it would be
> helpful to be able to have access to the depth (z) coordinate of the directly
> visible object at each pixel in the rendered image.
>
> Ideally, I would have a file that gives (IMAGEHEIGHT x IMAGEWIDTH) floating
> point numbers (IEEE-754 format), each giving the projected "z" value for the
> corresponding pixel (or "infinity" if there is no object in the eye->pixel ray
> path).
>
> Has something like this perhaps been done before? If not, how difficult would it
> be to add this myself (I am proficient in C, but I have never looked at the
> source code of POV-Ray) ?
>
> Best regards, Sidney
>
>
>
I think you may have access to depth with MegaPov : have a look at
"2.7.5. Post processing" in the Megapov doc
(http://megapov.inetart.net/manual-1.2.1/global_settings.html#post_processing)
Thibaut
Post a reply to this message
|
|