|
|
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> "Christian Froeschlin" <chr### [at] chrfrde> schreef in bericht
> news:4bf65c9a$1@news.povray.org...
> >
> > You should check all invocations of GammaColor in your scene file then.
> > You're likely calling it with a 3 component vector but without rgb.
>
> Yes... that must be it because in a test scene this is exactly what makes
> the error appear... Thanks! Good hint!
>
> Thomas
You can also change the input vector to a 5 component color vector if you do
something like this:
#local OldVar = <1.0,0.5,0.2>;
Inside of the macro:
#local NewVar = color rgbft (<0,0,0,0> + OldVar);
Now NewVar is a 5 component color.
-Reactor
Post a reply to this message
|
|