Revision: 4487
http://sourceforge.net/p/smartbody/code/4487
Author: fengww
Date: 2013-05-08 17:33:05 +0000 (Wed, 08 May 2013)
Log Message:
-----------
Fixed the problem of rotation decomposition in parameterized animation. Use
quaternion instead of Euler angle to extract the y-rotation from the base joint
transformation. This avoids the issue with singularity for Euler angle when
some rotation is close to 90 degrees.
This solution fixed for problem in Strive where the female citizen falling down
and rotate 90 degree during animation blend. Currently tested fine for example
scripts and GunSlinger project. I still keep the original Euler angle code path
with #ifdef. So it may be reverted back if necessary.
Modified Paths:
--------------
trunk/core/smartbody/smartbody-lib/src/controllers/me_ct_param_animation_utilities.cpp
trunk/core/smartbody/smartbody-lib/src/sr/sr_quat.cpp
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn