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

Just a quick question here

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

You can use the ID3DXMesh to contain any mesh data, from any source. To create an ID3DXMesh object, check out the D3DXCreateMesh and D3DXCreateMeshFVF functions. Basically, just create a mesh object, lock the vertex and index buffers, and load in the mesh data.

Jim Adams
Author, Programming Role-Playing Games with DirectX
and Focus On: Advanced Animation with DirectX

Share this post

Link to post
Share on other sites
Original post by ji yan
Can anyone pliz tell me if the directx 8.1 mesh techniques could be applied to other than just .X files? Can I load a md2 file and then stuff the info into a mesh?

Thanks for help in advance!!

no you cant load other formats, just .X files.
you must parse the file yourself if it is not .X format.
md2 is simple quake models. Just load the frames. Animate with interpolation

Share this post

Link to post
Share on other sites