POV-Ray : Newsgroups : povray.advanced-users : HF Erosion : Re: HF Erosion Server Time
30 Jul 2024 00:27:34 EDT (-0400)
  Re: HF Erosion  
From: Christoph Hormann
Date: 21 Jul 2000 03:20:52
Message: <3977F9D7.2DBBFC5B@schunter.etc.tu-bs.de>
Yann Ramin wrote:
> 
> I'm trying to freshen up my heightfields to make them a bit more like
> terrain.  I've seen examples where various packages used erosion to make
> more realistic terrain.  I (obiously) know what erosion is, how it
> works, but HOW THE HECK do you model it mathematicly????  I'm a bit lost
> there [smile].
> 
> If anyone could provide some pseduo code with what it requires, it would
> be greatly appcreciated.  I'm am not looking for a POV example, as this
> won't be written into POV, but into an external C program.  I have also
> tried looking at HF-Lab and can't figure out what makes its erosion
> engine tick.
> 

I never understood John Beale's code totally, but I think it calculates an
array, where the valuses are equivalent to the uphill area at this point, which
is related to the amount of water flowing there.  Usually you are substracting
this array from your terrain.  

All this calculates pure water erosion.  To create realistic effects, it
requires much smoothing to simulate the flattening of the structures created by
the water over the time.  

Maybe you want to check the samples i made for a fast thermal erosion code.  One
I posted in p.b.i some time ago.  Some more including a sort avi film are on my
pages:

http://www.schunter.etc.tu-bs.de/~chris/erosion1.html

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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