POV-Ray : Newsgroups : povray.general : Ambient value : Re: Ambient value Server Time
24 Apr 2024 07:08:57 EDT (-0400)
  Re: Ambient value  
From: clipka
Date: 21 Jul 2018 14:40:23
Message: <5b537e17$1@news.povray.org>
Am 21.07.2018 um 18:20 schrieb kurtz le pirate:
> Hello,
> 
> 
> Many of my old scenes have this kind of settings :
> 
> finish {
>   ambient 0.40
>   diffuse 0.60
>   }
> 
> Now with 3.7/3.8 version, there is the message :
> "Possible Parse Error: Suspiciously high 'ambient' value found...."
> 
> If i set ambient to zero, it's ok, but renders are differents
> So, what is correct settings for finish {} now ?
> 
> 
> One advise ?

The message already includes any advice necessary:


"... Are you trying to model a glowing material? As of POV-Ray v3.7,
'ambient' is disabled when using radiosity, and its use to model glowing
materials is generally deprecated; use 'emission' for this purpose
instead. If your intention is to model unusually high ambient
illumination in a non-radiosity scene, you can avoid this warning by
explicitly specifying 'emission 0'.


You have to decide whether your intention of using `ambient` was to
model a material glowing of its own (which the feature has often been
co-opted for, but wasn't originally intended for; the original intention
was to model the effect of indirect illumination, serving the same
purpose as radiosity albeit at a lower quality).

If you find that you are indeed using `ambient` to model a glowing
material, replace `ambient 0.40` with `emission 0.40` (presuming your
scene uses the default of `ambient_light 1.0`).

Otherwise, simply add `emission 0` to suppress the warning without
changing anything.

(If it's actually a mix of both, use e.g. `ambient 0.10 emission 0.30`.)


Post a reply to this message

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