POV-Ray : Newsgroups : povray.general : Storing depth - normal map : Re: Storing depth - normal map Server Time
5 May 2024 03:23:41 EDT (-0400)
  Re: Storing depth - normal map  
From: William F Pokorny
Date: 1 Jun 2016 08:02:15
Message: <574ecec7$1@news.povray.org>
On 06/01/2016 07:01 AM, Mark B wrote:
>
> Hello,
>
> I would like to store the scene depth values (and if possible the normal vector
> values as well) for every pixel. How can this be achieved using Pov ray 3.7? I
> have found no such examples online.
>
> Thank you in advance,
> Mark
>
>

At : http://www.povray.org/search/
search for "depth map"

There have been some patches & methods over the years. To do it in 
POV-Ray's screen distribution language (SDL), suppose setting up 
something with trace() in the way you wish to measure depth would be one 
possible way.

Bill P.


Post a reply to this message

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