Jump to content
  • Advertisement
Sign in to follow this  
JMab

Terrain Editor Height Map Stitching

This topic is 3889 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have an in-progress editor that can generate a heightmap using perlin noise. What I haven't got my head around yet, is when I start generating the 8 surrounding heightmaps, how do I "stitch" them together in the editor? I haven't used any terrain editors, so the answer might be obvious. Is it typical to use some sort of averaging along the shared heightmap boundaries, to smooth the edges that they share?

Share this post


Link to post
Share on other sites
Advertisement
I've run into the same problem before as well. It depends on the general features of each piece of terrain. For instance, if you have 2 terrain blocks next to each other:

--------------
| | |
| A | B |
| | |
--------------

Suppose A is mostly high cliffs, especially along the border with B, but B is mostly flat plains, how can you combine them to still make it look good? I've always simply interpolated between edges using a weight distribution depending on the features along the borders of each and also in general amongst the entire block.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!