rifter1818 Posted November 13, 2003 Posted November 13, 2003 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 ReDim CreateKeyFrameFromFile.VertexList(CreateKeyFrameFromFile.Mesh.GetNumVertices) As D3DVERTEX hResult = D3DXMeshVertexBuffer8GetData(CreateKeyFrameFromFile.Mesh, 0, Len(CreateKeyFrameFromFile.VertexList(0)) * _ CreateKeyFrameFromFile.Mesh.GetNumVertices, 0, CreateKeyFrameFromFile.VertexList(0)) please help me, if anyone has a sample project of an animated mesh that would be helpfull too Quote
Machaira Posted November 19, 2003 Posted November 19, 2003 Have you looked at the Dolphin sample app in the SDK? You do have the SDK, right? ;) Quote Here's what I'm up to.
rifter1818 Posted November 20, 2003 Author Posted November 20, 2003 Have looked at the dolphin example However i couldnt understand it, too much code doing too many things ex. there are three meshes which i didnt find the file for and i rem ed out 2 of them and there was no change which didnt make any sence what so ever to me so i decided to focus on it more once i got another problem im still working on fixed. And until i get that fixed im kinda hoping that this forum will turn up an easyer to understand example. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.