Sign in to follow this  
JMab

Terrain Editor Height Map Stitching

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this