Jump to content
  • Advertisement
Sign in to follow this  
bgilb

Seamless Terrain

This topic is 4105 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

Basically I want to create a fairly large terrain ( like the size of britain ) Anyway, what I was planning on doing was creating a big grid of heightmapped terrains. Of course I can't have them all displaying at once. So how would I go about making this work? I was planning on doing a visibility of 3x3 and just loading in new heightmaps/terrains as the player walked, but would the game spiked every time the new terrain is built?

Share this post


Link to post
Share on other sites
Advertisement
Yes, there's always going to be a performance hit when you start loading, not to mention you have to predict when the best time to load a section of terrain into memory would be. One option to lessen the visible blow to the frame rate would be to place the loading in another thread so it loads in the background without the player even realizing it.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
yeah i was thinking of doing that, i was also thinking of instead of deleting the old terrain and creating a new one, i would just translate the old ones into the correct position, and modify the height and color data, etc.

Share this post


Link to post
Share on other sites
That's an option. Another idea I've had on this in the past is to create the world out of many height maps tiled together, and use a quad tree for visibility.

You'll also want to think of the possibility of the player gazing into the distance. In that case, there's way too much data to render with a reason frame rate. So you'll have to setup LOD, and fix each height map to tile seamlessly with its neighbor even if they have differing LOD. Things in the far distance, though, can simply be rendered to a texture and displayed way out there.

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!