1
0
Fork 0
flightgear/src/Model
Richard Harrison 2c8aad12ba Model relative property tree root binding.
Change fgcommand to take an optional property tree root element.

This fixes the animation bindings to use the defined property tree root - to support multiplayer (or other) model that can bind to the correct part of the property tree.

Requires a corresponding fix in sg to allow the command methods to take an optional root parameter.

What this means is that when inside someone else's multiplayer model (e.g. backseat, or co-pilot), the multipalyer (AI) model will correctly modify properties inside the correct part of the property tree inside (/ai), rather than modifying the properties inside the same part of the tree as the non-ai model.

This means that a properly setup model will operate within it's own space in the property tree; and permit more generic multiplayer code to be written.

This is probably responsible for some of the pollution of the root property tree with MP aircraft properties.
2017-07-05 11:37:17 +02:00
..
acmodel.cxx Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
acmodel.hxx replace many auto_ptr by unique_ptr 2016-11-14 22:20:46 +01:00
CMakeLists.txt Support explicit aircraft interior models. 2013-10-20 20:46:33 +01:00
modelmgr.cxx Revert "Fixes for HUD, model-manager listeners." 2017-02-02 17:02:39 +01:00
modelmgr.hxx replace many auto_ptr by unique_ptr 2016-11-14 22:20:46 +01:00
panelnode.cxx Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
panelnode.hxx Model relative property tree root binding. 2017-07-05 11:37:17 +02: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.