How to make huge map small?

Questions and answers about the how and why of making maps.
Post Reply
Yrogirg
Private First Class
Private First Class
Posts: 154
Joined: Sat Oct 27, 2007 7:24 pm

How to make huge map small?

Post by Yrogirg »

Imagine there is really huge map, that needs hundreds of megabytes in your computer memory and takes several minutes just to cross it. Is there a way to make it smaller (easier to computer to handle it) but to preserve all its features?

Maybe scaling somehow? Or you need to use less objects, change several small objects to one big object? Other ideas?
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: How to make huge map small?

Post by Bambino »

If it is a symmetrical map then you can use the group function to group part of the map then rotate it X degrees. This uses much less space and is a more efficient way to make a map than just duplicating it then changing the X and Y coordinates.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
ts
Dev Monkey
Dev Monkey
Posts: 970
Joined: Fri Jan 14, 2005 6:26 pm

Re: How to make huge map small?

Post by ts »

There are different optimisation ways and some things good for one optimisation task are bad for the other one.

If you want more performance and a nicer look:
• merge some bigger objects but make sure the structures you produce are not "too big" in the world, meaning you'd like to see almost the entire structure from your average tank view.

If you want more performance
• use level of details (LOD) to change structures on the fly, depending on their distance, nearer structures should be more detailed
• use quadstrips and tristrips in mesh structures
• compress the map file and host it using http

If you want a smaller file size
• do not use LOD
• do not use quadstrips and tristrips
• use groups, do not merge to be able to use groups as much as possible

Regarding LOD and tristrips you might want to search for modeltool and diconf.
GU league: http://www.guleague.org/
An introduction to TCP: http://www.lafkon.net/tc/
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: How to make huge map small?

Post by optic delusion »

saveworld -o
import it into wings3d at 10 percent scale
export it back to bzw
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Post Reply