POV-Ray : Newsgroups : povray.general : render depth/normal map with povray? : Re: render depth/normal map with povray? Server Time
31 Jul 2024 04:20:13 EDT (-0400)
  Re: render depth/normal map with povray?  
From: Jan Dvorak
Date: 15 Nov 2007 09:49:14
Message: <473c5c6a@news.povray.org>
sirhenjo napsal(a):
> I am wondering if it's possible to render a depth and/or normal map using
> povray, instead of a regular scene render.
> 
> The depth map can be generated by measuring the depth from a reference plane
> (bounding box for example) and cast rays to the surface of the objects.
> 
> Is this possible?
> I know there are other platforms that can do this, just wondering if POV-Ray can
> be setup to generate such maps.
> 
> 
depth map:
set a gradient pigment perpendicular to the camera plane and set ambient 
1 diffuse 0


Post a reply to this message

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