Archived

This topic is now archived and is closed to further replies.

DirectX Export

This topic is 4945 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How to export file to .x? I use Maya.And after I export file to .x,there just a .x file. Should I creat a bmp file myself?Or there is other way to creat it?? Thx

Share this post


Link to post
Share on other sites
You have to find the bitmaps that your material uses, and copy them to the directory that you''re X file is in. For example, your material has a diffuse texture tex1.tga. Take tex1.tga (wherever it is, maybe it''s in the Maya dir), and copy it to the directory that the x file resides in. The texture filenames are hardcoded into the mesh.

3ds max has a nice exporter (the Pandasoft one) that will copy all the textures to the directory for you. Maybe maya has one, too.


Dustin Franklin
Mircrosoft DirectX MVP

Share this post


Link to post
Share on other sites
The Maya .x exporter doesn't copy the textures for you. But there is a very nice little script called fileTextureManager.mel that will allow you copy any texture used in a scene to a specified directory. Go to www.highend3d.com and do a search in the MEL scripts.

Jez

www.JeremyPardon.com

[edited by - jpardon on May 30, 2004 5:25:46 PM]

Share this post


Link to post
Share on other sites