FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Scenery Design - Other > General

General Use this forum for all your general scenery design discussions that do not fit in any of the other forums

Reply
 
Thread Tools Display Modes
  #1  
Old 06 Oct 2005, 03:08
lmoelleb's Avatar
lmoelleb lmoelleb is offline
 
Join Date: Apr 2005
Posts: 266
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
Reply With Quote
  #2  
Old 06 Oct 2005, 14:37
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,807
Send a message via Skype™ to arno
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
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #3  
Old 06 Oct 2005, 15:50
lmoelleb's Avatar
lmoelleb lmoelleb is offline
 
Join Date: Apr 2005
Posts: 266
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 23:08.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.