PDA

Click to See Complete Forum and Search --> : D3D Meshes


Allanon
Dec 21st, 2001, 08:21 PM
After I import a ".X" file mesh into my application, how can I get it to move, other than using the World Matrix to manipulate it. Like is there something with Vertexes that I can change, and how would I do that.
Thanks!

Zaei
Dec 21st, 2001, 08:42 PM
If you mean animation, there are several options. You can create keyframe animation, which is interpolating vertexes between several models in different positions. You can also do skinning, which is similar to keyframe interpolation. Basically, you have a skeleton of bones, and each bone influences a number of vertices. You simply interpolate the skeleton, and transform the vertices that are affected by that bone by the same amount. This is better then vertex interpolation, because less memory is used.

There is a tutorial showing a few methods over at http://www.vbexplorer.com/directx4vb .

Z.