rifter1818
Well-known member
Im reading the tutorial on directx4vb.com on animating meshes in dx8 but i cant figure out how to extract the verticies in dx9
heres the code in 8
please help me, if anyone has a sample project of an animated mesh that would be helpfull too
heres the code in 8
Code:
ReDim CreateKeyFrameFromFile.VertexList(CreateKeyFrameFromFile.Mesh.GetNumVertices) As D3DVERTEX
hResult = D3DXMeshVertexBuffer8GetData(CreateKeyFrameFromFile.Mesh, 0, Len(CreateKeyFrameFromFile.VertexList(0)) * _
CreateKeyFrameFromFile.Mesh.GetNumVertices, 0, CreateKeyFrameFromFile.VertexList(0))