|
![](/i/fill.gif) |
SharkD <pos### [at] gmail com> wrote:
> I've written the following macro to tweak some color values:
>
> #macro gamma_color_adjust(in_color, in_transmit)
> #local out_gamma = 2.2;
> #if (in_transmit)
> VPow(in_color,out_gamma) + <0,0,0,in_transmit,>
> #else
> VPow(in_color,out_gamma)
> #end
> #end
>
> The macro takes a three component color vector as the first parameter,
> and a single transmit parameter as the second parameter. I keep getting
> the error, "Expected 6 parameters but only 5 found." What did I do wrong?
>
>
> --
> http://isometricland.com
I didn't try it, but I noticed that there is a trailing comma after in_transmit,
which could make povray think that there should be another value. If this is a
direct copy&paste, double check that comma.
HTH
-Reactor
Post a reply to this message
|
![](/i/fill.gif) |