Search found 2 matches

by pbergeron
Wed May 17, 2006 8:17 pm
Forum: Python
Topic: Exporting Bone Data *Solved*
Replies: 8
Views: 9013

Ok guys, I have take this about as far as I can go with it, but cannot get it to work. I am trying to export a skinned mesh (frame hierarchy) from Blender to DirectX. I understand there are already exporters, but the ones I found are bloated (storing 3 times the amount of data necessary). Here are t...
by pbergeron
Wed May 17, 2006 6:33 am
Forum: Python
Topic: Exporting Bone Data *Solved*
Replies: 8
Views: 9013

Problem Solved. :wink: Here is the code for anyone with the same problem: finalMatrix = Matrix(armObject.matrix).invert() * Matrix(armBone.matrix['ARMATURESPACE']).invert() * poseBone.poseMatrix * armObject.matrix * flipMatrix Where: -armObject is the armature linked with the mesh -armBone = armatu...