Sign in to follow this  

are there any differences when exporting .X models?

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

Hi, I have a .x model which i exported from Maya using the DirectX SDK 9.0 (Oct 2005). However, I seem to have lots of problems with it, so I am wondering if there is something wrong with it? The .x file can be downloaded here: http://www.comp.nus.edu.sg/~chiobing/downloads/X%20File%20Models/handSkin3.x Its texture: http://www.comp.nus.edu.sg/~chiobing/downloads/X%20File%20Models/pCubeShape1_color.tga I have first tried to load it into the DirectX sample code SkinnedMesh. It fails in loading.. The second example I tried with is using toymaker.info code on X File Hierarchy Loading : http://www.toymaker.info/Games/html/load_x_hierarchy.html Using his code I can load the .x file with animation.. however its UV textures seems to be gone. :( Can anyone help me or advise me on what I did wrong? I suspect there is something about the model which I am missing out..

Share this post


Link to post
Share on other sites
If you still have access to the August SDK release, you can try to see if it loads correctly in the MeshViewer (the DXViewer from later releases may work too, but it's less fancy). If it doesn't load, there is probably something wrong with the mesh.

Edited:

I tried loading the mesh you linked to in the MeshViewer, but it indeed doesn't seem to have proper texture coordinates (no uv coordinates in the mesh properties and also no normals) and it seems to be missing a good portion of the thumb. I can only go from my limited experience in Max, but I guess that the Maya exporter is having some problems with the combined UWV map and skinning modifiers.

In 3D studio max, you can solve this problem by collapsing the modifiers on the object/mesh onto the object (Collapse to), essentially baking any modifiers into the mesh. Can't Maya do something similar?

[Edited by - remigius on January 11, 2006 3:13:35 AM]

Share this post


Link to post
Share on other sites
Hi, thanks for the reply. I tried to load my mesh to the Mesh Viewer and it fails to load.. :(

I am not too sure abt the baking the modifiers to the mesh on Maya.. let me go look around for it..

Share this post


Link to post
Share on other sites
Hi, I tried to look around within Maya for something like you mentioned.. the only thing related to bake does not seem to be right. Its Baking to textures and vertices.. [depressed]

Share this post


Link to post
Share on other sites
Well, I don't know much about Maya, so I'm afraid I can't help you there. Are you sure you've set up your exporter properly? With the Panda .X exporter for Max for example, you need to check a box to have it export the textures/materials/property you want.

Perhaps you'll have more luck posting this question in the Visual Arts forum, since this seems to be more of an issue with exporting from Maya, rather than something DirectX related. Some of the Visual Arts people should be dealing with this stuff on a daily basis, so they might be able to tell you more.

Share this post


Link to post
Share on other sites
Thanks, I reposted over at that section to see if there is any help. I am using the default exporter that comes with the sdk and it is supposedly be able to export everything at one go.. :(

I saw the Panda exporter.. but its for 3d Studio Max right?

Share this post


Link to post
Share on other sites

This topic is 4353 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this