|
|
Hi Tom,
The simplest is probably
#declare My_Ripples = function { sin(2*pi*sqrt(sqr(x)+sqr(z))) }
#declare Water_Surface = function { y - 0.2*My_Ripples }
and use function { Water_Surface } in the isosurface.
If you want more sea wave shaped ripples, I find
#declare Water_Surface = function { y - 0.2*abs(My_Ripples(x/2,0,z/2))^N
}
where N is around 6 or so is quite good.
Bye for now,
Mike Andrews.
Tom Melly wrote:
>
> Assuming I didn't want to just use an inbuilt function, etc., what would be
> the equation to generate a pattern similiar to ripples in an isosurface?
> (ie. circular waves propagating outwards from a point).
>
> Ta.
Post a reply to this message
|
|