Jump to content
  • Advertisement
Sign in to follow this  
ms75214

DirectX mesh formats

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

Can someone tell me what mesh formats DirectX currently supports loading? IIRC, back in 2004, it could only load some peculiar .x format that I didn't know how to convert to/from.

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Not sure exactly what you mean by "supports." Are you asking about DX9 and D3DXLoadMesh..? Static meshes? Animated meshes?

If you're not talking about D3DXLoadMesh.. functions, you can load any format (that can be described with vertex declarations) you want with your own loader.

Share this post


Link to post
Share on other sites
Quote:
Original post by Buckeye
Not sure exactly what you mean by "supports." Are you asking about DX9 and D3DXLoadMesh..? Static meshes? Animated meshes?

If you're not talking about D3DXLoadMesh.. functions, you can load any format (that can be described with vertex declarations) you want with your own loader.


I guess I was thinking of static meshes and D3DXLoadMeshFromX and wondering if they built in anything for other formats like 3ds or WaveFront obj files.

Share this post


Link to post
Share on other sites
Quote:
wondering if they built in anything for other formats like 3ds or WaveFront obj files

If you're still talking about DX9, the answer is no. I.e., there's nothing like D3DXLoadMeshFromOBJ, etc. Don't know about later APIs (though I don't believe so).

Share this post


Link to post
Share on other sites
there's no static function that loads meshes in directX 10 ,
but there's a sample in the documantation that loads meshes from .OBJ file

You can also use fbx SDK that let you load fbx meshes that all the designing programs support it.

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!