POV-Ray : Newsgroups : povray.binaries.images : Calculating water flow : Re: Calculating water flow Server Time
1 Aug 2024 04:17:53 EDT (-0400)
  Re: Calculating water flow  
From: Kirk Andrews
Date: 11 Dec 2008 15:45:00
Message: <web.49417b7cb440b799b555cae70@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> "Kirk Andrews" <kir### [at] tektonartcom> wrote:
> > When the lowest new point is higher than the current point, water ought to
> > collect.  I've tried adding code to create ponds where the water ought to
> > collect, but I'm running into weird problems.
>
> Please describe in more detail exactly what the problems you are encountering
> are.
>
> -Mike

Well, I think I've solved that problem by using a different technique now.
Earlier I was trying to use triangles to create the pond surfaces, now I'm
simply using a cylinder which is easier and has more benefits anyway.

I'm trying to decide the best way to take this to the next phase--actually
deforming the terrain based on the paths of the water, as clipka discussed.
Perhaps you could store the altitude of each point of the hf in an array,
subtracting and adding to the altitude based on the water movement.


Post a reply to this message

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