Revision: 5758 http://sourceforge.net/p/smartbody/code/5758 Author: fastict Date: 2014-08-05 00:56:55 +0000 (Tue, 05 Aug 2014) Log Message: ----------- branch - merged reaching (and related) fixes from trunk.
Merged revision(s) 5563, 5673, 5678, 5680, 5746 from trunk: Some fixes for crash in ogre. Checks for efficient channel handling. Fixed default-init-desktop.py for sbdesktop. ........ Add a new SBMotion API function to unroll the pre-rotation from input motion based on the joint pre-rotations of a given skeleton. This is needed because some software such as MotionBuilder would write the initial bone orientation into the motion channels, which cause the pre-rotation to be applied twice when using such motion on our .sk skeleton. By removing those pre-rotation from motion channels, we can apply the motion as it is on our characters without any more changes. ........ Fixed unroll prerotation function to normalize the resulting quaternion. Add a new API to add a temporally interpolated rotation offset on a channel. ........ Add new API for SBCharacter to check if there is a pawn attached to the character through reach controller. Usage : c = scene.getCharacter('ChrName') print c.getReachAttachedPawnName('left') % indicate left/right hand ........ Refactor the reach code to allow multiple reach instances to be initialized with different example motions. The different reach set can be assigned to the character on-the-fly. This allow switching to different example reach motions for a character in different situations. Usage : reach = reachManager.createReachWithTag(charName, tagName) reach = reachManager.getReach(charName, tagName) character.setReach(reach) ........ Modified Paths: -------------- branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/bml/bml_bodyreach.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/controllers/MeCtBodyReachState.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/controllers/MeCtReachEngine.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/controllers/MeCtReachEngine.h branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/controllers/me_ct_example_body_reach.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/controllers/me_ct_example_body_reach.hpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/controllers/me_ct_scheduler2.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBCharacter.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBCharacter.h branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBMotion.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBMotion.h branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBPython.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBPythonCharacter.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBPythonMotion.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBReach.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBReach.h branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBReachManager.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBReachManager.h branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/SBScene.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/sbm_character.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sb/sbm_character.hpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sbm/MiscCommands.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sk/sk_channel_array.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sk/sk_channel_array.h branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sk/sk_motion_io.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/sbgui/src/EmbeddedOgre.cpp branches/fast/smartbody-toolkit-5542/data/sbm-common/scripts/default-init-empty.py branches/fast/smartbody-toolkit-5542/smartbody.iss Property Changed: ---------------- branches/fast/smartbody-toolkit-5542/ branches/fast/smartbody-toolkit-5542/core/smartbody/ branches/fast/smartbody-toolkit-5542/core/smartbody/sbgui/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn