[VIDEO TUTORIAL] How to get a .X model out of Blender

A forum to store posts deemed exceptionally wise and useful
AndyCR
Posts: 110
Joined: Tue Nov 08, 2005 2:51 pm
Location: Colorado, USA
Contact:

Post by AndyCR »

I'm having a little trouble with my server; I'm contacting the administrator.
cyberwan
Posts: 40
Joined: Mon May 14, 2007 12:18 pm
Location: Rennes, France

Post by cyberwan »

Hi everyone !
I'm trying to export bones-animated meshes from Blender to Irrlicht using directX format. I've managed to do some things with the exporter from Arben OMARI, but the animation do not render the same in irrlicht : the bones joints positions seem to be interpolated, instead of the bones rotation, which produce a strange deformation effect. I've tried a lot of things, assigning keys to every bone, keyframe location and scale even if not used, etc... The only working solution was to keyframe every frame, but it is not convenient for editing animations, and it stores much more keyframes than needed..
Then I decided to use the mindfloaters.de script, which seems to be irrlicht-optimized. But I got a lot of errors from this script : the first was the same as presented in the topic, and I fixed easily. But I have a lot of other errors. Some can be easily fixed, like Armature.getBones() -> Armature.bones.values(), but some others can't, like Bone.getRestMatrix() which do not exist anymore !
So I decided to downgrade from Blender 2.43 to 2.42a, which is the one everyone seems to use with the script. But the errors didn't disappear, and I don't know what to try now...
If someone can help me about one of my problems, any advice would be greatly appreciated !
roxaz
Posts: 575
Joined: Tue Jan 23, 2007 8:35 pm
Location: LT

Post by roxaz »

i get an error:
Traceback (most recent call last):
File "<string>", line 1526, in ?
KeyError: 'key not found'
whats wrong?
Post Reply