I’ve made a couple simple models in Blender; thinking of using it to make all the models for a game I’m working on. So I load the .blend files for these models and do:
File - Export - DirectX - Only mesh data
and save them.
However, when I try and load either of these .x files into the “Mesh Viewer” utility that comes with the DirectX sdk, I get an error saying it was unable to load the file. Also if I try loading them in a program using the sdk function D3DXLoadMeshFromX I get a similar error.
Do I need to do something special in blender for exporting .x models to work properly, or does blender just not export format correctly?