|
|
Ahh, I see, thanks,
ingo
--
Met dank aan de muze met het glazen oog.
Nathan Kopp heeft geschreven in bericht <3740DC55.26A3866B@Kopp.com>...
>Macros work via text substitution. Rmm is not really a function returning
>a number.
>
>Right now, this:
> pigment {rgb <0.50,0.10,0.08>*Rmm(Min,Max,Stream)}
>
>becomes:
> pigment {rgb <0.50,0.10,0.08>*Max+((Min-Max)*rand(Stream))}
>
>So, you need to put parentheses in the macro. Change it to look like
>this:
>
>#macro Rmm(Min,Max,Stream)
> (Max+((Min-Max)*rand(Stream)))
>#end //macro
>
>
>-Nathan
Post a reply to this message
|
|