I just managed to rewrite ingo's df3 erosion idea for heightfields (I hope i
understood it right, i'm not totally sure) and it works really good!
The following 3 pictures are my first try: the first one is the original, the
second one is after 6 runs and the third after 12 additional runs (each run
taking only 240 ms on a 128x128 HF)
There probably is some more work to do (for example the edges) but IMO, it looks
really promising.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
Attachments:
Download 'erode_a1.jpg' (12 KB)
Download 'erode_a2.jpg' (12 KB)
Download 'erode_a3.jpg' (12 KB)
Preview of image 'erode_a1.jpg'
Preview of image 'erode_a2.jpg'
Preview of image 'erode_a3.jpg'
|