|
|
Tom Melly wrote:
> Anyone know what function would give a scallop-like wave? (but with the
> waves emanating from the centre of a disk, rather than one edge).
>
> Something like: { y-(sin(x/z))} but without the problem where z=0
>
>
>
Why not try
y-sin(x/(min(z,0.01)) ?
Regis
Post a reply to this message
|
|
|
|
"regdo" <reg### [at] wanadoofr> wrote in message news:421efe6c@news.povray.org...
> Tom Melly wrote:
> > Anyone know what function would give a scallop-like wave? (but with the
> > waves emanating from the centre of a disk, rather than one edge).
> >
> > Something like: { y-(sin(x/z))} but without the problem where z=0
> >
> >
> >
> Why not try
> y-sin(x/(min(z,0.01)) ?
or even max(z,0.01) ;)
... not a bad idea, but not really working (a max gradient of 3935 is a bit
OTT). Still, worth a try, but with a scaling-down of the returned value as
either x or z approach 0...
hmm, tried various hopeful monsters, but I'm getting very extreme shapes
with very high max gradients...
Post a reply to this message
|
|