Search code examples
xnadirectxblender

Import DirectX .X into Blender


I spent some time now to find "tools" to work and make 3D applications with. For some reason I will use XNA 4.0. This can import .X or .FBX files for models - perhaps many more, but I do not know of this yet. Both format I want to use as text-based, not binary. I found .X making less trash text so I tried to look for free, but useful tool to edit .X files. After many downloaded trash software I found Blender to be "just fine" for my needs.

My problem was that even if Blender can export to .X and even .FBX, it can not import from these formats. I was looking for plugin for this goal, but none I have found so far, and after too many "visited links" I just lost the line, so I thought I will ask around here, if anyone knows a good way to import .X into Blender...

or

  • make XNA work with other formats.
  • suggest a good 3d editing program, that can edit models imported from .X or .FBX (text) and can export into one of these formats.

I used search, and am not retarded - just tried of looking-and-looking.. so.. any good idea or link is welcome. Thanks in advance.

Edit: to make it clear: my goal is to have a 3d modell editor, that can be used to edit .X (or .FBX) in text format, so I can work with XNA without converting from or into anything else.


Solution

  • here is an importer for Blender 2.67 :

    https://github.com/littleneo/directX_blender

    it currently supports x in ascii format, imports verts, faces, uv and vertices weights (multimesh support)

    there's a bit of support for parenting and armatures but it's still pending/messy.

    goals of the author, which is me, are to import anything from x, and supports binary format*.

    [* but I need feedback, hughs, spare time, and complex testfiles to do so ;) ]