Exporter Bug?
by Demolishun · in Artist Corner · 08/22/2006 (11:03 pm) · 4 replies
I have been fighting something really strange and I just don't understand the problem. I am using Blender 2.4.2 with the modified exporter of 0.91. The problem is when I export my animations spring0, spring1, spring2, and spring3 only the first animation works when exported as a non-blend animation. If I export as a blend animation all the animations work for all springs, but the postions are off because they are referenced against an animation that is never used. I looked through the exporter code and it seems that the exporter references against the unposed version of the armature. That means if my initial pose of my animation is different than the intial position of my spring animations then it does movement against the non-posed version. This does not produce what I want. The question I have is why when I export non-blended animations does it seem to only work for the first animation? It almost seems as though the animations are compounded or something, but none of the spring animations use the same bones. I even created a new version of my armature with each spring animation getting its own armature and I still got the same result. This is just really strange.
Recap:
non-blend - only first animation seems to work, the rest go to a fully extended position
blend - all animations work, but initial pose of bones is wrong so I get the wrong animations
Also, in show tools each animation works perfectly and independently.
Recap:
non-blend - only first animation seems to work, the rest go to a fully extended position
blend - all animations work, but initial pose of bones is wrong so I get the wrong animations
Also, in show tools each animation works perfectly and independently.
About the author
I love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67
Torque Owner Demolishun
DemolishunConsulting Rocks!
I went ahead and basically traced the start and end positions of the animations against the IK produced animations to get identical positions for the bones. I removed all IK animations. Once I did that all the spring animations exported perfectly. So it is some strange bug in the export of IK based animations. I cannot tell you what the issue is, but this is the work around. I suspect it may be something to do with some flags, interaction of bones that shouldn't interact. I am just not versed enough on the way the exporter works.
Once I texture my vehicle and add some more animations I will put the blend files here for everyone to download:
tdn.garagegames.com/wiki/DTS/Blender/Creating_a_Simple_Wheeled_Vehicle