Jump to content
  • Advertisement
Sign in to follow this  
k00k

Maya 6.0 And Direct X Exporting

This topic is 4848 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

Guy's I know alot of us have asked what do we need todo to get Maya 6.0/6.5 to properly export to .x files .. well Im asking again because this is really killing me here. I have even tried using Blender to export my models and with The SampleFramework I cannot Load models that I export. I can load any of microsoft models no problem but thats really not going to do me any good now is it. :0 With maya I have tried applying directx shaders to my objects still crashes my engine with DrawSubset Errors .. and with blender it seems to do the same errors. im not even trying to use any textures with anything. possibly could this be due to my Effect file being messed up or something? does anyone have a tutorial on how to properly setup maya or blender and export to .x file with the new sdk's sampleframework. please any information would greatly be a help. thanks guys

Share this post


Link to post
Share on other sites
Advertisement
Actually after playing with my effect file i think i have found that this is the problem. can anyone provide me with a simple DirectX Mesh and an Effect File that they have written. Or Explain these Effect Files in Detail here. All im basically trying to create is a simple Poly Cube Shapped SkyBox with of course a texture on the Top, Bottom, Front, Back, Left and Right. thanks again guys.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The tool that you are going to want to test your X-File against is DX Viewer. No longer MView. DX Viewer supports the DirectX Standard Annotations and Semantics (SAS) 1.0 so you can mark up your FX file's parameters with binding information that tells the engine how to fill the parameters with information such as world, view, projection matrices, lighting, etc.
There are samples of FX files with SAS markup in the SharedFx directory in the last two DXSDKs and more are appearing each release.

DX Viewer has the ability to load FX files directly and apply them to a sphere or X files to get the model and whatever FX files it may be associated with via effect instances. I suggest that you start your debugging process by testing the effect file you will be using with DX Viewer for compatability. (and/or use the previewer built into the maya exporter to make sure your geometry is right).

MView was much pickier about bad geometry than DX Viewer so i suspect that you problem may be that your mesh has some bad artifacts that are allowable in maya such as back to back polygons which share vertices, bowties, and manifold issues.

If the problem still occurs, zip up your maya file and FX file and send it to DirectX@microsoft.com

-Daniel Horowitz
DirectX Solutions


Share this post


Link to post
Share on other sites
Wonderful thanks for the response I will look into doing some of the things you mentioned. On that note I have been playing around with my effect files and I do belive that is the problem im having. if I run into anything else ill be sure to post it up. thanks again

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!