Importing models made in Maya into DirectX?

Started by
1 comment, last by tapir 13 years, 2 months ago
I made a model in Maya and exported as an .x file. It wouldn't load in the DirectX mesh viewer. I tried exporting a primitive object and it loaded in DirectX. The loading problem only seemed to happen in models that were made of multiple primitives that were welded(merged) together at the vertices. Is there a problem with the way the model was made?

Also, how do people load textures in DirectX?


Edit: it might be the .x exporter I'm using. What a good(hopefully free) .x exporter that can used with Maya would you recommend?

Is there another file type that can be used to import into direct x?
Advertisement
I used Blender for importing and exporting but many things might be lost on the way. I would recomend writing a script in Maya that export to your own text based model format that your engine can read using a reusable class. My model class takes about 1000 lines of simple code to load, save and modify. It also makes it easy to make your own 3D editor for the final generation of lost data that Maya could not export.
Thanks.

This topic is closed to new replies.

Advertisement