POV-Ray : Newsgroups : povray.general : Ambiant Occlusion "grey-scaled" image : Re: Ambiant Occlusion "grey-scaled" image Server Time
29 Jul 2024 16:30:43 EDT (-0400)
  Re: Ambiant Occlusion "grey-scaled" image  
From: Alain
Date: 29 Jan 2011 16:28:28
Message: <4d44867c@news.povray.org>

> Hi there,
>
> I'd like to know if it's possible to make a render like what an "Ambient
> Occlusion" pass could give.
>
> See the left part of this picture :
>
http://news.povray.org/povray.binaries.images/attachment/%3Cweb.48f739123ce46002bd1b3ad10%40news.povray.org%3E/ambiento
> cclusiontest.jpg
>
> I'd like to find a way to do that from an already textured and colored scene
> which is quite huge. It is only because I like this gray scaled effect.
>
> So if some of you could give me some help, I'd very appreciated it.
>
> Thanks in advance.
>
>
>
>

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


Post a reply to this message

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