POV-Ray : Newsgroups : povray.general : Ambiant Occlusion "grey-scaled" image : Re: Ambiant Occlusion "grey-scaled" image Server Time
29 Jul 2024 16:21:41 EDT (-0400)
  Re: Ambiant Occlusion "grey-scaled" image  
From: Christian Froeschlin
Date: 31 Jan 2011 09:23:05
Message: <4d46c5c9$1@news.povray.org>
Darats wrote:

> Is there something like a "change all materials to a white pigment" command I
> can write in order to avoid manual changing of all the object's material ?

Not really. The best you could do is to enclose all your texture
statements in an #if (!USE_DEFAULT_TEXTURE) ... #end block and set
the variable to on for plain renders. Something like this might
actually be handy to have built-in, not just for ambient
occlusion but also, e.g., for creating a depth image
based on a gray gradient.


Post a reply to this message

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