Jan Dvorak <jan### [at] centrum cz> 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
|