|
|
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
|
|