Revision: 3272
http://smartbody.svn.sourceforge.net/smartbody/?rev=3272&view=rev
Author: fengww
Date: 2012-05-09 18:59:07 +0000 (Wed, 09 May 2012)
Log Message:
-----------
More update for motion retarget. Now roughly working between different zebra2
skeletons. The idea is to match the global bone orientation between source
animation and retarget motion. Should work fine for transferring simple
gestures. But need more work to get locomotion animations to work correctly.
Usage :
testMotion = scene.getMotion('ChrMarine@IdleAim01_Shoot02');
testMotion.retarget('ChrMarine@IdleAim01_Shoot02_retarget',sourceSkeletonName,
targetSkeletonName, endJoints);
Here endJoints are StringVec(). The retarget algorithm will ignore these joints
and their children.
Problems to be solved :
1. Handle twist correctly. Probably need user to provide a suitable twist
offsets for certain joints.
2. Fix foot sliding. Need to combine foot plant detection and IK to
post-process the motion.
3. Proper scaling for character with different heights/arm lengths etc.
Modified Paths:
--------------
trunk/core/smartbody/smartbody-lib/src/sb/SBMotion.cpp
trunk/core/smartbody/smartbody-lib/src/sb/SBMotion.h
trunk/core/smartbody/smartbody-lib/src/sk/sk_motion.cpp
trunk/core/smartbody/smartbody-lib/src/sk/sk_motion.h
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn