0ebe8ec8f0
Animations are now contained within the scene graph itself and are updated whenever the graph is traversed -- that saves time by not updating animations not currently in sight, and it allows animations to be used for static objects and random objects as well. Added new FGModelLoader and FGTextureLoader classes. These are intern tables for models, to guarantee (mostly) that no model is loaded more than once. FGTextureLoader is not yet used anywhere, but FGModelLoader is now in place everywhere that ssgLoad* used to be used (thus adding the ability to use animations). In the future, FGModelLoader will add some interesting functionality, including the ability to reload 3D models on the fly. |
||
---|---|---|
.. | ||
.cvsignore | ||
acmodel.cxx | ||
acmodel.hxx | ||
loader.cxx | ||
loader.hxx | ||
Makefile.am | ||
model.cxx | ||
model.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.