Jump to content
  • Advertisement

Archived

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

Krusty95

.x file loading with directx 8

This topic is 6295 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 new to using directx 8. I used directx 6 before I got directx 8( 137 MB at 2 KB a sec. = long download time). I have directx set up and I can use vertex buffers and all that, but I don''t know how to load an X file and display it. I looked at the documentation, but it''s kind of confusing. So could somebody please show me how to do this? Krusty95

Share this post


Link to post
Share on other sites
Advertisement
I know there''s lots of people that know how to do this, so could someone that knows how, pleeeeeeeeeeaaaaaase show me how?

Share this post


Link to post
Share on other sites
If you''re only interested in displaying a standard, non-skinned mesh, then look up ID3DXMesh and D3DXLoadMeshFromX. Under the SDK samples directory, you''ll find a tutorials directory - go into the mesh (tutorial 6) sub-directory to find an easy sample on loading and displaying a mesh.

If, on the other hand, you are looking for something on skinned meshes, then there are quite a few posts on how to start working with them. Soon, GameDev will post a few articles from me that demonstrates how to work with .X files. If you have the patience, please please read through the DX SDK skinned mesh example, concentrating only on the software based skin mesh. Cut out all other code (including animation at this point) until you understand how to load and display a single skinned mesh.


Jim


Share this post


Link to post
Share on other sites
OK thanks. I didn''t know the tutorials were there and are all ready to be compiled. Thanks for the help.

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.

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!