POV-Ray : Newsgroups : povray.general : Rune? Christoph Hormann? : Re: Rune? Christoph Hormann? Server Time
4 Aug 2024 16:10:04 EDT (-0400)
  Re: Rune? Christoph Hormann?  
From: Christoph Hormann
Date: 15 Mar 2003 07:59:36
Message: <3E7323B8.26ABE0FB@gmx.de>
"Tim Nikias v2.0" wrote:
> 
> I've got a question about your implemenations of
> Hugo Elias' description for water. I'm trying it myself,
> so I've got the array x*y and save the heights as
> floats, later converting it to positions.
> 
> But, when I just raise a single point, I get a stupid
> kind of criss-cross effect: One node will stick
> out, and the adjacent won't. I know that this is
> supposed to happen on the first step of raising
> a point, but how do I get rid of this? How did
> you achieve that, surely you've run into the same
> kind of trouble?

Like Rune i don't precisely remember how i implemented this but IIRC the
algorithm involves an averaging/smoothing step - this can be varied quite
easily.  

You will also have to experiment with the disturbance of the surface - the
size and form of this much influences the resulting waves.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.