DirectX Export
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
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
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
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]
Jez
www.JeremyPardon.com
[edited by - jpardon on May 30, 2004 5:25:46 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement