Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

JDL

About X files and Direct3D.

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

I''m familiar with Direct Draw, but I have no experience in Direct 3D programming at all (or any 3D programming for that matter). Anyway, my question is, if I want to import 3D model, does it have to be in .X format? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
You can import any file you want, provided that you know how to parse it and place the relavant information (vertices, texture coordinates, normals, etc.) into the corresponding directx structures, but if you want microsoft to do it for you, then the X file is the only format natively supported. There a plenty of tutorials and books that cover loading of milkshape files though. I am sure you can find information about other formats as well if you need.

Share this post


Link to post
Share on other sites
I don''t know if it will help you, but I think there is a tutorial in the Sweet Snippets serie about loading .3ds files.

Pavel "Corpse" Zuna

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!