View Full Version : maya and directx .x question
dstammel 06-29-2006, 09:39 AM maya and directx .x question
so i have files in maya that i want to export as .x files for directx
They export fine so they look good in the viewer and they have their textures and everything.
But where is the texture? Shouldn't i have a file that is a .x and a .dds to use for the game?
But where is the .dds? where does maya put it? or do i have to make the .dds and attach it somehow?
Any help or advice on directx would be appreciated because i'm new to exporting .x files.
david
|
|
dante117
07-05-2006, 09:54 AM
how did you convert your Maya files to a .x file? Anyone can help me?
dstammel
07-05-2006, 10:05 AM
i downloaded the microsoft directx sdk.
once you install it, it puts a plug-in in your maya that you have to activate and then you can just export the meshes as .x's.
i only did simple meshes with textures. but its' pretty easy.
dante117
07-05-2006, 10:19 AM
Ok thanks man! Can you give me a link where I can download it? Is it free? Sorry for th n00b questions.
dstammel
07-05-2006, 05:09 PM
i don't have the link on hand but just go to microsoft.com and look up in the downloads section "directx sdk"
rakmaya
07-06-2006, 11:16 PM
In the .X file, the Material node lists a TextureName item which reference the full path to where you texture is. So if you have the DirectX Viewer (comes with the SDK installation) you can view the mesh.
The Maya to .X exporter exports the full texture path so that is why it works with the DirectX viewer.
Putting it in a game is a whole other issue. You can Load the .X file and it will load the referenced textures etc with it.. with it but you have to do a lot more such as set up the Materials, Lighting. Of course there are tutorials with the SDK you can look up to learn this. If you want to learn .X file format, there is documentation on that too.
CGTalk Moderation
07-06-2006, 11:16 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.