OSDN Git Service

Bone animation :
authorremy.bouquet@gmail.com <remy.bouquet@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sat, 2 Apr 2011 22:41:47 +0000 (22:41 +0000)
committerremy.bouquet@gmail.com <remy.bouquet@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sat, 2 Apr 2011 22:41:47 +0000 (22:41 +0000)
commit6b18960f0d84b8368c84d7e5f0985576bc98aa37
tree580aa8902a284dc6421932d1ed66636634fa5176
parenteb57bf9abbd1aa136af82c645d1ffff444c5b07b
Bone animation :
- Split of the AnimControl in two parts :
- The AnimControl that handles skeleton transformation via tha animation data
- The SkeletonControl that handles the skinning of the mesh using skeleton transformations
- Ensured backward compatibility with old j3o files, and changed the ogre mesh loader to create the controls properly
- Reverted change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 transforms passed to the setUserTransform methods must be considered as increments to current transform
- Fixed some issues in the ragdollControl and test case (still WIP don't use it)

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
engine/src/core/com/jme3/animation/AnimControl.java
engine/src/core/com/jme3/animation/Bone.java
engine/src/core/com/jme3/animation/SkeletonControl.java [new file with mode: 0644]
engine/src/core/com/jme3/scene/Spatial.java
engine/src/jbullet/com/jme3/bullet/control/RagdollControl.java
engine/src/ogre/com/jme3/scene/plugins/ogre/MeshLoader.java
engine/src/test/jme3test/bullet/TestBoneRagdoll.java
engine/src/test/jme3test/model/anim/TestOgreComplexAnim.java