]> git.mxchange.org Git - flightgear.git/commit
Removed the FG3DModel class and replaced it with fgLoad3DModel.
authordavid <david>
Wed, 7 Aug 2002 01:34:49 +0000 (01:34 +0000)
committerdavid <david>
Wed, 7 Aug 2002 01:34:49 +0000 (01:34 +0000)
commit0ebe8ec8f0e88451fc41b0a2fd44df2380e19661
treee238ec48a3af43af164a778b2c63f6f2165177d3
parentc3f4b63258a628c8d5b3d3f38c9d2314b919fd85
Removed the FG3DModel class and replaced it with fgLoad3DModel.
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.
13 files changed:
src/ATC/AILocalTraffic.cxx
src/Main/globals.hxx
src/Main/main.cxx
src/Model/Makefile.am
src/Model/acmodel.cxx
src/Model/loader.cxx [new file with mode: 0644]
src/Model/loader.hxx [new file with mode: 0644]
src/Model/model.cxx
src/Model/model.hxx
src/Model/modelmgr.cxx
src/NetworkOLK/net_send.cxx
src/Objects/newmat.cxx
src/Scenery/tilemgr.cxx