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


Animation of .x files in DX7

Recommended Posts

if you look at the dx7 sdk samples, there are a whole lot of structs/classes declared for the types of data found in an x file; i think the animations are each located within different frames, perhaps changed by either the vertices themselves, or a frame transform matrix. however, d3d 7 lacks the capability to use bones to animate meshes, so i think you may be better off using d3d8.
basically, the samples load an xfile by taking the data from the buffer interface, and putting it into an array of vertices, then calling DrawIndexedPrimitive() to show them. i did this, and it was quite a painstaking task; d3d7 requires you to set up your own z buffer, and many other things which are done for you in d3d8.

Share this post

Link to post
Share on other sites