Friday, March 23, 2007

Blender Plug-in Patch for XNA Animation Component Library

I noticed that Blender DirectX Exporter is impossible to export models correctly in some cases. And so, I patched the default Blender exporter plugin quickly. Download from here.

The default exporter doesn't handle the plural root frames. So if a model has IK bones which don't have a parent, the exporter chooses the last object of the armature as the root frame. By that, important bones having actual vertexes are not exported in some cases. These cases raise Exception Error in the ModelAnimator constructor, because the model doesn't have bones which are specified by skinmesh tags.

I patched two points to use exported model in XNA quickly.

  • This script names AnimationSet "AnimationSet0".
  • Remove IK bones from root objects

When the model has the plural objects in the armature object, the original of this script chooses the last object as the root. Under this spec, you may be unable to export your model having IK bones which don't have a parent. This customized script removes objects which contain "IK_" in their name from root object candidates.

I pay a respect to Arben OMARI's great works. Thank you very much!

How to install
  • Calls this script directly on Blender.
  • Or, put this script to your Blender's script directory.
How to use

You may use this script as well as the original script.

  1. Active "Anim".
  2. Active "Swap zy" to get Y-axis up.
  3. Inactive "Flip z" to
  4. Active "Speed"
  5. Let's Export!

4 comments:

Anonymous said...

You know ,I have some wonderland Gold,and my friend also has some wonderland online Gold,do you kouw they have the same meaning,Both of them can be called
wonderland money,I just want to
buy wonderland Gold,because there are many
cheap wonderland online GoldYou know ,I have some wow gold,and my friend also has some World of Warcraft Gold,do you kouw they have the same meaning,Both of them can be called
warcraft gold,I just want to
buy wow gold,because there are many
cheap wow gold

Anonymous said...

I can get LOTRO Gold cheaply,
Yesterday i bought Lord Of The Rings Goldfor my brother.
i hope him like it. i will give cheap Lord Of The Rings Gold to him as
birthday present. I usually buy LOTRO Gold and keep it in my store.

Anonymous said...

As a new player , you may need some game guides or information to enhance yourself.
angels gold is one of the hardest theme for every class at the beginning . You must have a good way to manage your angels online gold.If yor are a lucky guy ,you can earn so many buy angels goldby yourself.If you need , you cancheap angels online goldat our website . Go to the related page and check the detailed information . Once you have any question , you can connect our customer service at any time .

Anonymous said...

latale online gold in the game which movement is much like an arcade game. We know, the latale gold can exchange the real money of the reality. The world you are enjoying in latale money can entertainment and get to know new friends. This economic structure lead buy latale online gold has one kinds of real value in the real world. You can use cheap latale gold to purchase various items of course, there are need to change.