1
0
Fork 0
flightgear/src/Model
timoore fd492a297a model paging patch from Till Busch
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
2008-03-22 09:31:06 +00:00
..
.cvsignore Moved FGAircraftModel subsystem out into its own directory, and 2002-04-05 03:19:34 +00:00
acmodel.cxx model paging patch from Till Busch 2008-03-22 09:31:06 +00:00
acmodel.hxx Olaf Flebbe: remove unused variable. 2006-11-07 05:39:33 +00:00
Makefile.am Moved src/Model/loader.[ch]xx and src/Model/model.[ch]xx to 2003-05-09 20:40:59 +00:00
model_panel.cxx model paging patch from Till Busch 2008-03-22 09:31:06 +00:00
model_panel.hxx model paging patch from Till Busch 2008-03-22 09:31:06 +00:00
modelmgr.cxx model paging patch from Till Busch 2008-03-22 09:31:06 +00:00
modelmgr.hxx Modified Files: 2006-10-29 19:30:21 +00:00
panelnode.cxx Modified Files: 2007-01-07 19:00:25 +00:00
panelnode.hxx Modified Files: 2007-04-07 09:54:18 +00:00
README Updated docs for this directory. 2002-04-20 14:05:49 +00:00
TODO Updated docs for this directory. 2002-04-20 14:05:49 +00:00

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.