POV-Ray : Newsgroups : povray.general : diffuse and ambient : Re: diffuse and ambient Server Time
8 Aug 2024 10:24:44 EDT (-0400)
  Re: diffuse and ambient  
From: Tom Melly
Date: 11 Jan 2001 08:45:09
Message: <3a5db8e5$1@news.povray.org>
"Ron Parker" <ron### [at] povrayorg> wrote in message
news:slr### [at] fwicom...
>
> Ambient is equivalent to "diffuse reflection from unknown light sources"
and
> as such should probably also be included in the sum.  I always include it
in
> the sum, at any rate.
>

Yes, it should be included - I'm just not sure how. After all, for an object
in deep space, ambient would be pretty much 0 for all objects. Which seems
to imply that ambient is a property of the scene rather than the object.
However, an object with reflection 1 always has, by implication, an ambient
of 0, which implies that it is an attribute of the object.

The trouble with ambient is that to make any real sense it should be
influenced by the overall strength of the light-sources available. Perhaps
one should code like this:

#declare light_strength = 0.75;
light_source{<0,0,0> color rgb<1,1,1>*light_strength translate <-300,
300, -300>}
object{foo finish{ambient 0.3*light_strength}}


Post a reply to this message

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