POV-Ray : Newsgroups : povray.general : Bad operands : Re: Bad operands Server Time
29 Jul 2024 22:26:08 EDT (-0400)
  Re: Bad operands  
From: Thomas de Groot
Date: 21 May 2010 05:05:02
Message: <4bf64cbe$1@news.povray.org>
"clipka" <ano### [at] anonymousorg> schreef in bericht 
news:4bf4f199$1@news.povray.org...
> Thus, you actually need only a single macro and use it as follows:
>
>     #macro GammaColor(Color,Gamma)
>       rgbft<pow(Color.red,Gamma), pow(Color.green,Gamma),
>       pow(Color.blue,Gamma), Color.filter, Color.transmit>
>     #end
>     ...
>     #declare MyColor = GammaColor(rgbt <R,G,B,T>, G);
>

Strange....
Now, when I declare the macro above at the start of my scene, I get again 
the same parse error, within the macro declaration, with the cursor blinking 
at Color.filter

Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.