Author: mkrose Date: 2005-05-03 23:37:37 -0700 (Tue, 03 May 2005) New Revision: 1541 Modified: trunk/CSP/CSPSim/CHANGES.current trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/model.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/systems.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16DJ.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/model.xml trunk/CSP/CSPSim/Include/AircraftObject.h trunk/CSP/CSPSim/Include/Animation.h trunk/CSP/CSPSim/Include/Controller.h trunk/CSP/CSPSim/Include/GearAnimation.h trunk/CSP/CSPSim/Include/ObjectModel.h trunk/CSP/CSPSim/Include/System.h trunk/CSP/CSPSim/Include/SystemsModel.h trunk/CSP/CSPSim/Source/AircraftObject.cpp trunk/CSP/CSPSim/Source/Animation.cpp trunk/CSP/CSPSim/Source/Controller.cpp trunk/CSP/CSPSim/Source/F16/F16System.cpp trunk/CSP/CSPSim/Source/F16/F16System.h trunk/CSP/CSPSim/Source/GearAnimation.cpp trunk/CSP/CSPSim/Source/LandingGear.cpp trunk/CSP/CSPSim/Source/ObjectUpdate.net trunk/CSP/CSPSim/Source/System.cpp Log: * Replace the object update message with a new format that provides much better support for animations. Animations that need to be transmitted to remote hosts are now extracted automatically from the object model and send as needed based on state changes and lod. Model files now specify lod limits and control channel ranges for each animation. The latter are used to scale the channel data down to 8 bits for transmission. Note that only scalar data channels are supported for animations (no vector channels). Animations at lod level >= 10 will not be sent (and should be used for small details such as cockpit switches). * Convert the m2k gear compression animation to use a scalar channel. * Move the canopy and fuel door animation drivers and event handlers from AircraftObject to F16System. * Systems now register channels in a single pass, after the parent object (DynamicObject subclass) registers its channels. This is faster and allows the Controller system to access the ObjectModel when registering animation channels. ===> ALL USERS: RebuildData.py ===> NOTE that these changes are incompatible previous versions for mulitplayer network communications. Do not mix and match binaries with and without this change for multiplayer testing. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1541 Diff omitted (68778 bytes). |