|
|
Le 18-10-28 à 12:50, Kenneth a écrit :
> eval_pigment returns the 'linear' color of an object, not a gamma-bent color
> (i.e., not at gamma 2.2.) I.e., it returns an rgb color, not an srgb one. If the
> *original* color of your object was chosen to be srgb <...> rather than rgb, and
> you want to use the returned srgb equivalent in your scene or for some other
> purpose, the result should be used as srgb <0.2,0.5,0.75>, for example, not rgb
> <...>.
>
> But if your original color was rgb <...>, then eval_pigment will return that
> same color.
>
> As Clipka noted, eval_pigment doesn't take into account the *illumination* of
> the object-- lighting, shadow, phong, etc--, just the basic strict color found
> there.
>
>
>
>
Also, it probably won't work for UV mapped textures.
Post a reply to this message
|
|