开发者

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.


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 ;) ]


Use this program to convert .X files to a format that Blender can import, modify it and export as a .X file.


Ok, so found out that Blender 2.49 just does the trick: can import .X and export into .X too; uses text only. Newest Blender (2.57 or so) is unable to import .X - but will export into.

So when you go for using Blender download the "older versions".

Edit: you can get previous versions here: http://download.blender.org/release/

Edit: you can find usefull info from .X file format here: http://paulbourke.net/dataformats/directx/


Best solution found so far is UU3D (Ultimate Unwrap 3D), downside is that it is not free, but does the trick. For more info see this:

https://gamedev.stackexchange.com/questions/13399/tool-for-editing-x

Edit: Blender can Import .X.. not animations tho' and only one mesh. Up to version 2.49b it can export with animations. So better to write an own plugin, because the shipped one is crap.


Ok, so found out that Blender 2.49 just does the trick: can import .X and export into .X too; uses text only. Newest Blender (2.57 or so) is unable to import .X - but will export into.

So when you go for using Blender download the "older versions".

Edit: you can get previous versions here: http://download.blender.org/release/

Edit: you can find usefull info from .X file format here: http://paulbourke.net/dataformats/directx/


You can use Alin's DirectX Exporter for 3ds Max, It supports standard and DirectX shader materials, use it to export your scene data as DirectX (.x) file, then import it into Blender.

download it's free version

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜