POV-Ray : Newsgroups : povray.general : large city models in povray : Re: large city models in povray Server Time
5 Jul 2024 11:29:38 EDT (-0400)
  Re: large city models in povray  
From: clipka
Date: 24 Nov 2015 07:14:10
Message: <56545492$1@news.povray.org>
Am 24.11.2015 um 11:29 schrieb christian:

> I have another question in this context. Is there a smart way to generate normal
> maps and depth maps in POV-Ray. Maybe I can use fog for the depth map?

I'd use an emission-only gradient pigment for depth maps.

For normal maps, you could use either the slope or aoi pattern as the
basis for one emission-only pigment per colour channel / axis, and mix
them via an average pattern. Alternatively, you could try using a plain
white pigment, and one parallel shadowless light source per colour
channel / axis.


Post a reply to this message

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