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: Trevor G Quayle
Date: 15 Nov 2007 10:15:01
Message: <web.473c6176fcd9bf9ac150d4c10@news.povray.org>
Jan Dvorak <jan### [at] centrumcz> wrote:
> 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

Normal map, use combined slope patterns.

-tgq


Post a reply to this message

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