Skip to main content
gamedev.net
🔒 Locked

Heightfield

Started by Florian22222 0 replies 950+ views
Original Post
Florian22222
Florian22222
As the description said, I am looking for a technique to make caves and so on in height fields. Meaning that more than one coordinate is stored on one position. I wasn´t able to find something on google.
Thank you for your replies ;)
Krohm
Krohm
It's really simple. No plain heightmap will allow you to do this. Not without some serious hair pulling at least.


I've been somewhat successful with some selective rendering to allow drilling holes (similar in concept to this) in the terrain and a set of cooperating terrain system. It would work... with some care, as edges shared across different terrain systems would be usually garbled. In the long run, the system didn't really convinced me. Perhaps some geometry shader tricks might help it, I cannot tell.
I general, I'd say voxel isosurface extraction methods appear to be more robust for that kind of application. I'd absolutely look at Eric Lenglyel's Transvoxel Algorithm.
Previously "Krohm"

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.