hi all,

as noted earlier in another thread, i am working on a model-paging patch.

i need testers! if you want flightgear multiplayer to not pause when other 
pilots join, you are welcome to test my patch. some people are running 
flightgear with my patch alredy -- feedback is very positive so far.

get the files at http://flight.bux.at

XXXX-modelpaging-vX.X.X-beta-flightgear.patch
XXXX-modelpaging-vX.X.X-beta-simgear.patch

current version is 0.4.4, but i will re-release frequently.

please don't forget to provide feedback after testing for a while.


i started the project at the end of february with a simple idea: move all 
3d-model loading to the DatabasePager-thread. my first attempts looked 
promising, though they were a little too optimistic (or naive?). the patch 
has evolved a lot since.

currently it does the following things:
1. revive SGModelLib, move functions for xml-model-loading there

2. replace all calls to sgLoad3dModel with calls to either 
SGModelLib::loadModel() or SGModelLib::loadPagedModel()
almost all models will be loaded by the DatabasePager. the few exceptions are: 
your own plane, shared models in scenery, random objects, AIBallistic models.

3. simplify mode-loading functions (avoid passing around fg_root)

4. avoid supurious MatrixTransform nodes in loaded models

5. fix some memory leaks



NOTE: i'm still not pushing for integration in cvs. this patch is huge and it 
needs more testing. a little more clean-up is also needed.


cheers,

- till
(buti on #flightgear)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to