Project: Blender Extensions
Tracker: Py Scripts Release
Dependencies: math, os
Script name: DirectX Exporter (.x)
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Import-Export/DirectX_Exporter
Author(s): Chris Foster
Category: Import Export
SVN Download: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons/io_scene_x
NOTE: This information is outdated. Please check the wiki page for the most recent information.
This script is an addon that allows a user to export the current scene to the DirectX model format (.x).
Here is a list of features that are exported:
-Objects with an arbitrary number of parents and children
-Meshes deformed by armatures
-Armature Bone Animation
Other features include:
-Supports export to both left-handed and right-handed coordinate systems
-Supports export to Y-Up systems as well as Z-Up systems
-Very clean, properly indented exported files
The script has been updated and tested successfully on Blender 2.58 r37702.
To use the script, drop it into the 2.58/scripts/addons/ folder and then enable it from the User Preferences window. Afterward, the exporter should be accessible from the File > Export menu.
All of the options should be either self-explanatory, or sufficiently explained in the tooltips.
IK chains are somewhat finicky. It is often necessary to use the Bake Action operator before exporting complex rigs. Use the Full Animation option for the most accurate representation of your animation.
Anyhoo, that should cover everything. This script is under constant development/improvement, so please let me know of any bugs, suggestions, questions, or comments you might have.