|
 |
"GioSeregni" <gms### [at] hotmail com> wrote:
> triangle{<3.2475,.9143,6.0001><3.4358,.9376,5.9847><3.2475,.9376,6.0047>
> pigment{color rgb<255/255,63/255,0/255>}}
>
> triangle{<3.2475,.9143,6.0001><3.4358,.9376,5.9847><3.2475,.9376,6.0047>
> pigment{color rgb<1,63/255,0>}}
This is VERY interesting Gio.
Apparently the color keyword applies gamma handling,
but using just rgb is linear color.
Remove the color keyword and see if the colors are the same.
I'd also be interested to see what happens if you do your multiplication first.
#declare Color = <255/255,63/255,0/255>;
pigment{color rgb Color}}
I guess "color" triggers legacy gamma correction rules, which exists for
backwards compatibility.
- BE
gamma‑encoded color values, applying the scene gamma correction rules.
And:
Post a reply to this message
|
 |