POV-Ray : Newsgroups : povray.advanced-users : HF Erosion Server Time
24 Dec 2024 13:29:06 EST (-0500)
  HF Erosion (Message 1 to 10 of 30)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Yann Ramin
Subject: HF Erosion
Date: 20 Jul 2000 17:57:57
Message: <397775FA.77226B37@atrustrivalie.eu.org>
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.

Yann
-- 

--------------------------------------------------------------------
Yann Ramin			atr### [at] atrustrivalieeuorg
Atrus Trivalie Productions	www.redshift.com/~yramin
Monterey High IT		www.montereyhigh.com
ICQ 				46805627
AIM				oddatrus
Marina, CA

IRM Developer                   Network Toaster Developer
SNTS Developer                  KLevel Developer

(yes, this .signature is way too big)

"All cats die.  Socrates is dead.  Therefore Socrates is a cat."
	- The Logician

		THE STORY OF CREATION

In the beginning there was data.  The data was without form and null,
and darkness was upon the face of the console; and the Spirit of IBM
was moving over the face of the market.  And DEC said, "Let there be
registers"; and there were registers.  And DEC saw that they carried;
and DEC seperated the data from the instructions.  DEC called the data
Stack, and the instructions they called Code.  And there was evening
and there was a maorning, one interrupt...
		-- Rico Tudor

William Safire's Rules for Writers:

Remembe


Post a reply to this message

From: Pabs
Subject: Re: HF Erosion
Date: 20 Jul 2000 23:32:03
Message: <3977C383.423E1173@hotmail.com>
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.

There are some POV examples in these groups from a couple of weeks to a
month back but I can't remember which group/s.

I suppose you would follow the path of a water droplet falling
vertically/other from the sky and taking some soil with it - allowing for
deposition & erosion.
You might try e-mailing the author of  HF-Lab & other HF programs that have
this feature to ask the algorithm.

--
Bye
Pabs


Post a reply to this message

From: Ken
Subject: Re: HF Erosion
Date: 21 Jul 2000 00:14:08
Message: <3977CCA4.1429BAD0@pacbell.net>
Pabs wrote:

> You might try e-mailing the author of  HF-Lab & other HF programs that have
> this feature to ask the algorithm.

I have talked with John Beale in the past and found him talkative and
willing to share info where possible.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Christoph Hormann
Subject: Re: HF Erosion
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

From: Pabs
Subject: Re: HF Erosion
Date: 23 Jul 2000 21:46:09
Message: <397B9F35.3154A4AF@hotmail.com>
Christoph Hormann wrote:

> 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

Does your method simulate deposition of the eroded material?
-From the avi it does look like it does
--
Bye
Pabs


Post a reply to this message

From: Christoph Hormann
Subject: Re: HF Erosion
Date: 24 Jul 2000 04:07:50
Message: <397BF95C.7CE1E2CA@schunter.etc.tu-bs.de>
Pabs wrote:
> 
> Does your method simulate deposition of the eroded material?
> -From the avi it does look like it does

It's not a simulation of a physical move of material, it would never be that
fast then :-)  I never checked how the volume of the terrain changes during the
process, but i think it stays quite constant in the avi.   

Christoph

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


Post a reply to this message

From: Bob Hughes
Subject: Re: HF Erosion
Date: 24 Jul 2000 19:29:28
Message: <397cd158@news.povray.org>
Looked really neat, just seemed a lot more low area fill-in going on than
there was high-point sloughing resulting in a overall rise of the terrain.
But far as how it goes about it looked good top me.  Maybe if it were
somehow excavated away in the lowest parts it might be better, as if it's
carried away, rather than stuck in the one region like a bowl formation
does.  But I'm just expressing unknowledgeable opinion.

Bob


Post a reply to this message

From: Christoph Hormann
Subject: Re: HF Erosion
Date: 25 Jul 2000 04:03:20
Message: <397D49CF.4DFEE6C5@schunter.etc.tu-bs.de>
Bob Hughes wrote:
> 
> Looked really neat, just seemed a lot more low area fill-in going on than
> there was high-point sloughing resulting in a overall rise of the terrain.
> But far as how it goes about it looked good top me.  Maybe if it were
> somehow excavated away in the lowest parts it might be better, as if it's
> carried away, rather than stuck in the one region like a bowl formation
> does.  But I'm just expressing unknowledgeable opinion.
> 
> Bob

I'm not sure whether i understood everything you wrote, but right now, the
overall height is always scaled to fit the whole range after each calculation.  

As i already said it does not simulate physical processes, even though, you are
probably right, that there are some problems with nearly flat areas like the
bottom of basins.  But i think it gets along with local minima much better than
John Beale's Water Erosion, even though you probably cannot compare it. 

BTW, the in the avi, there is an additional high peak on the left not visible in
the camera, which affects the overall height of the terrain.  

Christoph

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


Post a reply to this message

From: Bob Hughes
Subject: Re: HF Erosion
Date: 25 Jul 2000 04:36:02
Message: <397d5172@news.povray.org>
"Christoph Hormann" <Chr### [at] schunteretctu-bsde> wrote in
message news:397D49CF.4DFEE6C5@schunter.etc.tu-bs.de...
|
| BTW, the in the avi, there is an additional high peak on the left not
visible in
| the camera, which affects the overall height of the terrain.

Oh, I think that could explain the increasing height at the near corner
then.  It just seemed to be expanding upward more than would be feasible for
being only the one major peak degrading.  That's all I was talking about
before.
Actually, I like the narrowing channels at the lowest parts, even if there
doesn't appear to be any etching out of them.  I think this is what was said
earlier, someone was trying to describe it too.

Bob


Post a reply to this message

From: Greg M  Johnson
Subject: Re: HF Erosion
Date: 25 Jul 2000 10:34:44
Message: <397DA45B.6514AB60@my-dejanews.com>
I've always hated heightfields (read: never gotten good with them).

I think humanity would ultimately be served by someone figuring out an
algorithmic, mathematical way to "erode" a smooth rolling isosurface.

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].


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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