![]() |
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| General Use this forum for all your general scenery design discussions that do not fit in any of the other forums |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Any performance impact on big BGL files?
I am currently dumping a few models (currently a bit less than 300) into one single BGL file (by generating FS2004 format MDL files and a single XML). The area covered is something like 50x50 km, though the majority of the models are inside a 10x10km area.
Currently the file is 6MB and growing. The area covered might also be growing with a few objects over 100km apart. Is there any indication that better performance would be gained from splitting it into 4x4km (or whatever) regions, and hence allowing FS to unload the parts not currently needed? It's easier for me to generate the file as one, but if performance can be gained I guess adding a bit of code to generate multible XML files won't be a big deal - once I have found out how to organize models shared between the areas (stuffing them into their own library file springs to mind).
__________________
Regards Lars |
|
#2
|
||||
|
||||
|
Hi Lars,
If you mean that you are using a lot different XML commands in one file to place your objects, then I don't think this should be a big problem. It makes sense not to put the entire world in one file of course, but using a region of 100x100 km is not so bad (look at how MS has split up the default files). If you mean that you have made one big MDL file for that entire region then it is not such a good idea .
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
|
#3
|
||||
|
||||
|
It is of course separate MDL files. For now I will keep it in one file unless someone knows it is better to split it up as it is slightly easier to generate that way. I just suspect it would be better to allow FS to unmap the file from memory if large parts of it is not needed. Oh well, can be done when we hit 20MB
__________________
Regards Lars |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multitexture with 31 subtextures -> impact on performance? | Geiger.Daniel | GMax and 3DS Max | 5 | 06 Feb 2006 02:50 |
| Obtaining model data out of bgl files | VulcanB2 | General | 4 | 21 Jan 2006 11:43 |
| How to Combine BGL files | nigelgrant | GMax and 3DS Max | 3 | 13 Jul 2005 20:25 |