Search found 11 matches

by jebus
Mon Jun 25, 2007 12:02 pm
Forum: Python
Topic: Cant get a constraint's ipo
Replies: 3
Views: 3173

Is this actually possible? Ive scoured the API documentation, and I can't see a connection between a constraint and its ipo anywhere...

Should I be posting this as a feature request, or even as a bug?
by jebus
Wed Jun 13, 2007 5:05 am
Forum: Animation
Topic: Invisable armature?
Replies: 1
Views: 2310

Are you sure its not inside the model? Try hitting Z till you get to wireframe view and see if it pops up. You could also enable the 'x ray' option in the editing panel so that the armature will always be visible.
by jebus
Wed Jun 13, 2007 4:56 am
Forum: Python
Topic: Finding points on a curve
Replies: 2
Views: 3147

by jebus
Wed Jun 13, 2007 4:49 am
Forum: Python
Topic: Cant get a constraint's ipo
Replies: 3
Views: 3173

Cant get a constraint's ipo

Hi,

Ok, so I can get hold of an object's constraints and in Blender I can see the ipo correlating to that constraint, but I have no idea how to get hold of this ipo with python.... (without just memorizing the name and using Ipo.Get(...))

Can anyone help me out?
by jebus
Fri May 19, 2006 2:01 pm
Forum: Python
Topic: Exporting Bone Data *Solved*
Replies: 8
Views: 9002

Hey pbergeron, In answer to your question: Isn't the following: armBone.matrix['ARMATURESPACE']).invert() * poseBone.poseMatrix equivalent to: poseBone.localMatrix ? Yes, that seems to be the case. As for your exporter, just take a look at the dx8 one that comes with blender. It seems to support ski...
by jebus
Thu Apr 27, 2006 6:39 am
Forum: Python
Topic: Armature animations info
Replies: 3
Views: 2814

Hi akiross,

I think you may want to have a look at Ben's .x exporter, as it should have most of the information you need.

Good Luck,
Jebus
by jebus
Thu Apr 27, 2006 6:31 am
Forum: Python
Topic: Exporting Bone Data *Solved*
Replies: 8
Views: 9002

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 = armatur...
by jebus
Fri Apr 14, 2006 9:36 am
Forum: Python
Topic: Exporting Bone Data *Solved*
Replies: 8
Views: 9002

Thanks for the replies! kakapo, i tried implementing what you have given me, but i am still running into familiar problems whenever i try to change the model's pose. 1) Whenever i try to rotate a bone, the final product in my program does not match up with the original in blender. The rest of the mo...
by jebus
Sun Mar 19, 2006 10:03 am
Forum: Python
Topic: Exporting Bone Data *Solved*
Replies: 8
Views: 9002

Isnt anyone able to help?
Does anoyone have any info they would like to share regarding any bone/armature matrices?
Anything would help as i just dont "get" the way blender organises armatures that are attached to meshes.

Lost and confused,
Jebus
by jebus
Sat Mar 18, 2006 7:18 am
Forum: Python
Topic: Blender bone structure
Replies: 2
Views: 4239

Blender bone structure

Hey, I've been trying to make sense of the way in which blender manages bones, in particular the way in which bone matrices are handled within the program. The main thing i really want to know is how does blender transform a vertex from within a mesh to its final pose stage? I've messed around with ...
by jebus
Sun Feb 26, 2006 2:49 pm
Forum: Python
Topic: Exporting Bone Data *Solved*
Replies: 8
Views: 9002

Exporting Bone Data *Solved*

Hi all, I have recently been attempting at writing python script to export 3d models to my own file format, but i've run into problems with successfully exporting matrix data belonging to the armature/bones of my model. First of all, i am using Direct3D and a left-hard coordinate system. Secondly th...