POV-Ray : Newsgroups : povray.binaries.animations : water: test with ripples (506kbu) : Re: water: test with ripples (506kbu) Server Time
2 Nov 2024 09:21:05 EDT (-0400)
  Re: water: test with ripples (506kbu)  
From: Rune
Date: 14 Apr 2002 11:13:12
Message: <3cb99c88$1@news.povray.org>
"Christoph Hormann" wrote:
> I'm not sure if the waves around the moving stick are
> that realistic, but the interaction with the walls looks
> promising.

I agree. The waves around the moving stick were a difficult problem that I
haven't been able to solve that well so far. When the stick is non-moving
the waves look more realistic, but I thought I'd try the challenge of having
it move around...

> Some technical details would be nice.

I took basis in the algorithm described here:
http://freespace.virgin.net/hugo.elias/graphics/x_water.htm

The waves reflect off the sides of the rectangular area completely
automatically due to the way the algorithm work, so adding support for a
custom map of blocking walls proved to be very simple and the map can be any
black and white bitmap.

The disturbance that initiates the waves is not described on Hugo's page. I
tried using a raised cone like shape for the disturbance, but other
variations may give better results.

I have quite some other projects to work on, so I probably won't take this
further, but if anybody else feel like making more experiments it would be
very interesting.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:  http://rsj.mobilixnet.dk (updated Mar 19)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Ring:  http://webring.povray.co.uk


Post a reply to this message

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