urgent , how to use maya files in directX  
Author Message
AMDCLOCKER





PostPosted: Game Technologies: General, urgent , how to use maya files in directX Top

How I can use my maya and 3ds Max models on my game using Maya 7 , 3ds Max 8.0 and DirectX SDK 9


Game Technologies: DirectX, XNA, XACT, etc.9  
 
 
Moayad Mardini





PostPosted: Game Technologies: General, urgent , how to use maya files in directX Top

You must export your models to .X format, then you can use them simply using DirectX.
Hope this helps a bit.


 
 
AMDCLOCKER





PostPosted: Game Technologies: General, urgent , how to use maya files in directX Top

how can I export them

 
 
David Weller





PostPosted: Game Technologies: General, urgent , how to use maya files in directX Top

That's really a question for whatever modeling tool you're using. If you can't figure that out, you might want to post on forums specifically for those tools (Maya or Max).



 
 
bduffy





PostPosted: Game Technologies: General, urgent , how to use maya files in directX Top

We've had some success with using Milkshape as an intermediate tool. Here's the process we use ...

1. Export your Maya model as an OBJ file

2. Use Milkshape to open the OBJ file

3. The textures won't always show up in Milkshape so you'll have to reset those, but the U-V data seems to be there so the textures snap right into place.

4. Export the model from Milkshape into .X format

Now you're ready to use the model in DirectX. The process is a round about way of doing it, but's a quick process and it hasn't failed us yet. However, we've only tested it on static meshes that we animate ourselves in DirectX. We have not attempted to export any models that contain animations.

Hope this helps.


 
 
Duncan Woods





PostPosted: Game Technologies: General, urgent , how to use maya files in directX Top

The directx sdk contains plug-in exporters for Maya 6, 6.5 and 7

They are installed here e.g.

C:\Program Files\Microsoft DirectX SDK (June 2006)\Utilities\Bin\PlugIns\Maya\Binary7\Plug-ins