Jump to content
  • Advertisement
Sign in to follow this  
danromeo

"Endless" terrain - visible edges

This topic is 4066 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'm working on a project that will use an enormous terrain generated from heightmaps, so I want to divide that terrain up into squares and only load the squares that are immediately visible by the viewer into memory. The problem is that even with "seamless" terrain, the edges of the squares are visible unless the height values for any two adjoining edges are identical, because no faces are created to span the difference in height between the two edges. I suppose that when I set the height values from the heightmaps I could check for vertices that are on the edge of a square and change it's height value to equal the heightvalue of it's counterpart vertice on the adjoining edge, but there must be a better way. I would be interested in any articles, tutorials, ideas, techniques, how-to's, or other resources for accomplishing this. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
If you are looking for information on terrain... VTerrain is probably one of the best resources you may find.

I hope this helps.
Take care.

Share this post


Link to post
Share on other sites
If you don't use LOD methods, problem in edges easy to evolve
Just create sectors, that share edges vertices.
Ex. (shared vertices marked as dots, terr size 5x5, 4 sectors):
. . . . . . . . .
. , , , . , , , .
. , 1 , . , 2 , .
. , , , . , , , .
. . . . . . . . .
. , , , . , , , .
. , 3 , . , 4 , .
. , , , . , , , .
. . . . . . . . .

Good book: Real time 3D terrain engines using DirectX9 (Snook)

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!