|
|
> Bald Eagle <cre### [at] netscapenet> wrote:
>>>> #default{pigment{rgb<1,1,0>}finish{ambient 1}}
>>>>
>>>> If you now have a bright magenta box, you know that you have an object
>>>> that don't have any pigment.
>>
>> That makes the box bright Yellow.
>> And jacks up the ambient value of everything in the scene. Whoa.
>
> If you're using 'quality 0' to test the scene, then all ambient values will
> indeed appear to be maxed out (regardless of using the #default stuff.) Maybe
> that's what's visually confusing. Quality 0 adds no color shading or lights-- or
> much of *anything* except the full rgb color of the objects.
>
> Also, the #default{pigment{rgb<1,1,0>}finish{ambient 1}} will *only* be imposed
> on objects that do not already have an explicitly-stated pigment and finish. In
> other words, it will not change anything in the following example:
>
> box{
> texture{pigment{rgb <.5,.3,.1>}finish{ambient .3 diffuse .7}}
> }
>
> although it might change the FINISH in this example (I'm actually not sure,
> without trying it myself)...
>
> box{
> texture{pigment{rgb <.5,.3,.1>}} // no explicit finish here
> }
>
>
For any texture that don't set a finish, or when you use only a pigment,
you get to use the default finish. Also, if your finish don't
explicitely set some finish parameter, the corresponding parameter from
the default will be used.
So, if you have #default{finish{ambient 1}}, any texture or plain
pigment will use ambient 1.
Another somwhat core complex example:
#defaut texture{pigment{rgb<1,0,1>}finish{ambient 0 emission 0.2 diffuse
albedo 0.7 brilliance 2 reflection{1 fresnel} specular albedo 0.7
roughness 0.1}}
This finish will be used UNLESS you explicitely set it to something
else, AND any finish parameter that is not explicitely set will use
those set in the #default directive.
Alain
Post a reply to this message
|
|