Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Various game map formats (indoor and outdoor)

Tags:

3d

I'm in the process of designing an rpg and I have run into a small snag. I'm not sure what to use for my world maps. I've looked at different formats over the past week and have determined that there aren't any maps (that I can find...) that are good for an outdoor environment. I found that .bsp maps (quake 4 or doom 3) would be good for an indoor setting, but not very good for outdoor settings because of the way they are done.

I'm trying to find something that would allow me to make huge outdoor maps, much like oblivion or morrowind. Granted I may not use the maps to that extreme, its just nice to have the room for expansion if I need it.

Thanks, Robbie

like image 325
Robbie Avatar asked Oct 02 '09 13:10

Robbie


2 Answers

Outdoor environments are typically done using terrain height maps. It's basically a giant grid with height info on each cell. Also each cell contains info about the texture(s) to be used.

You can create these maps using fractal and perlin noise based terrain generators

like image 92
Toad Avatar answered Nov 15 '22 18:11

Toad


This article introduces the use of quadtrees for terrain storage, which I believe are commonly used. Basically, they're like the BSP trees used in Quake, but better suited for storing heightmaps.

like image 20
unwind Avatar answered Nov 15 '22 19:11

unwind