|
![](/i/fill.gif) |
bob h schrieb in Nachricht <3c00c089@news.povray.org>...
>What you've said is essentially that a <red,green,blue,filter,transmit> is
>omnipresent regardless of choosing to use rgb alone. Again, I can see that
>being likely once using the 5 floats vector afterward but they are set to
>zero. 1-0=1 but only if rgb 1 = rgbft 1.
>
>Hope I'm not losing you, Mike Williams had said the same thing really.
It seems like being all about apples and pears.
#declare ThreeComps= <0,0,1>;
#declare MyColour = rgb 1-ThreeComps;
evaluates to <1,1,0,0,0>.
But
#declare ThreeComps= rgb <0,0,1>;
#declare MyColour = rgb 1-ThreeComps;
evaluates to <1,1,0,1,1>.
In the first case, the math is done with vectors of any kind. In the second
case it's done with color vectors which are always 5 component vectors.
I agree however, that rgb Whatever should result in a 5 component vector
with filter and transmit set to 0. Is there a reason why this is not the
case (or why rgb is ignored as Nathan said)?
Marc-Hendrik
Post a reply to this message
|
![](/i/fill.gif) |