|
|
I do not understand this. The following macro
#macro GammaColort(Color,Gamma)
rgbt <pow(Color.red,Gamma), pow(Color.green,Gamma), pow(Color.blue,Gamma),
Color.transmit>
#end
gives a parse error: "Bad operands for period operators"
while the following macros work just fine:
#macro GammaColorf(Color,Gamma)
rgbf <pow(Color.red,Gamma), pow(Color.green,Gamma), pow(Color.blue,Gamma),
Color.filter>
#end
#macro GammaColorft(Color,Gamma)
rgbft <pow(Color.red,Gamma), pow(Color.green,Gamma),
pow(Color.blue,Gamma), Color.filter, Color.transmit>
#end
Can somebody tell me what I do wrong?
Thomas
Post a reply to this message
|
|