View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

# Map Zooming and Detail

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

2 replies to this topic

### #1Theis_Bane  Members

Posted 20 May 2014 - 04:22 PM

I had an odd thought the other day. Say you had a continent level map, detailing the shape of the land, terrain features, and interesting locations. Now, say you wanted to be able to zoom in and out of that map to get a greater level of detail, but you didn't want to go in and draw out multiple levels of detail for every inch of the landscape.

Would it be possible to generate say, beach shape, on the fly as you zoom in by using a seeded randomly generated number to calculate terrain variations based on the main image and previous zoom levels? If so, how would one go about calculating this? Am I even making sense?

### #2frob  Moderators

Posted 20 May 2014 - 11:51 PM

Looks like you are describing procedurally generated terrain.

Simply put, you figure out some math formulas and statistics you want to use, and then compute the results.

If you are only looking for graphics, here's an older article for a GPU-powered system. If you need something to interact with physics, or to place other objects on, or for different uses, you'll either need to read up on procedural generation or make something up on your own.

Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.

Also check out my personal website at bryanwagstaff.com, where I occasionally write about assorted stuff.

### #3Burnt_Fyr  Members

Posted 21 May 2014 - 05:14 PM

Google how long is the coast of britain to get an idea of how fractals could help

Edited by Burnt_Fyr, 21 May 2014 - 05:32 PM.

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.