Advertisement

Export .x animations from Blender

Started by November 19, 2006 07:28 PM
4 comments, last by ianwarnold67 18 years, 1 month ago
Could someone please help me export my model and animation from Blender into the directx format correctly? I’ve been to roughly a million websites and they all point me to the same exporters (that don’t work). I have already searched the Gamedev forums. So please don’t just tell me to go to: http://projects.blender.org/projects/directxexporter/ or http://xoomer.alice.it/glabro1/index.html or http://development.mindfloaters.de/DirectX_Exporter_Mod.8.0.html or http://www.blender3d.org/cms/Import___Export.5.0.html I have tried all of these exporters, some of them export just the mesh and some of them don’t, but none of them properly export my animation to where I can see it in directx viewer. I am getting tired of looking for answers but it is necessary for my game. Someone please help.
I just started with blender and had some problems too exporting my meshes to the .x format. Both with the build-in exporter as well as with the custom exporter you are referring to.
So what I did was export to 3ds format and then use the conv3ds tool from the DirectX SDK to convert the 3ds file to .x
Be aware that the conv3ds utility is not in the DXSDK anymore. Apparently it was in older versions of the SDK. I found it by googling for conv3ds.

However, I don't know if animations are exporter because I haven't got to the point of doing animations yet :-)
Advertisement
Ok thanks I'll check it out.
Yea, if you try to view the .x file in a .x viewer, it usually doesn't load. I think it only happens when you have a material applied to the mesh. Not sure what the problem is, but I have my own .x loader in my game engine.

NBA2K, Madden, Maneater, Killing Floor, Sims

My model isn't textured at all. It just has an armature and an animation.
Ok - I have had this problem MANY a time.

What I have found it to be is that there is some name of an object or material that is not acceptable in the .x format (i.e. it contains a . or something)

For instance, when you make a cube and then another cube, it names the next cube cube.001 or something like that - I think that might be the problem.

Also make sure you have up-to-date versions, as I usually find the exporters improve.

I'm not sure if this is the real problem ( I don't know anything about .x file format ), but I usually found that changing all the names to not involve .001 or .002 ( I used _a, _b ) helped. (at least some of the time).

I hope this helps you!

This topic is closed to new replies.

Advertisement