|
![](/i/fill.gif) |
"Mike" <win### [at] hotmail com> wrote:
> I am doing:
> #declare R1=seed(1153);
> #declare xspectrum =function{ sin ( x+ rand(R1) ) }
>
> but it does not work.
Unfortunately, only a subset of float expressions is supported in function
definitions. The rand() built-in function doesn't seem to be one of them.
You will have to find some other way.
How about a "noisy" pattern function, e.g.:
#declare myRand = function { pattern { bozo } }
#declare xspectrum = function { sin ( x + myRand(x,y,z) ) }
would this help you, maybe with a lot of turbulence added to the pattern?
Post a reply to this message
|
![](/i/fill.gif) |