POV-Ray : Newsgroups : povray.general : Ambiant Occlusion "grey-scaled" image : Re: Ambiant Occlusion "grey-scaled" image Server Time
29 Jul 2024 16:26:37 EDT (-0400)
  Re: Ambiant Occlusion "grey-scaled" image  
From: Darats
Date: 30 Jan 2011 09:20:00
Message: <web.4d45734b8d2dc36f4c19492e0@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

>
> Usualy, those who do ambient occlusion start with a scene that use only
> white as a pigment.
>
> As ambient occlusion is a kludge approximating a part of what radiosity
> does, and you only want a gray scale image. You can:
>
> - make a copy of your scene.
> using search and replace...
> - Remove all pigment and replace them with a plain white one, or light gray.
> - Do the same to remove all finishes.
> - Do a normal radiosity render.
>
> You may add gray_thresshold 1 to force the radiosity to ignore the
> colours effect.
>
> Another option:
> Do a radiosity render of your scene and prost process it to convert it
> to gray scale.
>
>
>
>
>
> Alain

Thank you, I did it by changing all my materials to a white pigment without
finishes.
But this was a bit boring to change it manually.
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 ?


Post a reply to this message

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