fd492a297a
From Till: 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 |
||
---|---|---|
.. | ||
.cvsignore | ||
acmodel.cxx | ||
acmodel.hxx | ||
Makefile.am | ||
model_panel.cxx | ||
model_panel.hxx | ||
modelmgr.cxx | ||
modelmgr.hxx | ||
panelnode.cxx | ||
panelnode.hxx | ||
README | ||
TODO |
Last updated $Date$ This directory contains code for loading, positioning, orienting, and animating 3D models. acmodel.cxx acmodel.hxx This module defines the FGAircraftModel subsystem, which manages the 3D model representing the aircraft the user is flying. model.cxx model.hxx This module defines the FG3DModel class, which represents any 3D model in the FlightGear world. modelmgr.cxx modelmgr.hxx This module defines the FGModelMgr subsystem, which manages all 3D models except for the aircraft.