ambient value and ambient cache interaction

I just wanted to respond to this statement...

Only computed ambient values live in the ambient cache, ...

This is somewhat true, but misses an important point.

You can think about the -av ambient value as an estimated value for all of the ambient light in your scene that the ambient interreflection calculation can not "find." It is applied to the "last bounce" of light during the ambient interreflection calculation. The more -ab ambient bounces you have, the smaller its effect on the final value. This is because the -av value is multiplied by the surface reflectance of each intervening surface beteen the "eye" and the "last bounce." (If av=1.0, surface reflectance =0.5 and -ab 4, then effective av=1.0*0.5*0.5*0.5*0.5=0.0625)

This has the effect of "seeding" the ambient value cache with the -av ambient value. If the estimate of the ambient value is way off, then it will affect the ambient values stored in the cache.

-Chas

Hi Chas,

Charles Ehrlich wrote:

I just wanted to respond to this statement...

Thank you for adding to the fun...

> Only computed ambient values live in the ambient cache, ...
This is somewhat true, but misses an important point.
You can think about the -av ambient value as an estimated value for all of the ambient light in your scene that the ambient interreflection calculation can not "find." It is applied to the "last bounce" of light during the ambient interreflection calculation. The more -ab ambient bounces you have, the smaller its effect on the final value. This is because the -av value is multiplied by the surface reflectance of each intervening surface beteen the "eye" and the "last bounce." (If av=1.0, surface reflectance =0.5 and -ab 4, then effective av=1.0*0.5*0.5*0.5*0.5=0.0625)
This has the effect of "seeding" the ambient value cache with the -av ambient value. If the estimate of the ambient value is way off, then it will affect the ambient values stored in the cache.

Thanks for the insight. Now, if one made a grave error in the -av setting, the erroneous "seeding" would still be kept to a minimum if one still used lots of ambient bounces, since each bounce is another facoring down of the -av, yes?

···

----

      Rob Guglielmetti

e. [email protected]
w. www.rumblestrip.org