Verticies

rifter1818

Well-known member
Joined
Sep 11, 2003
Messages
255
Location
A cold dark place
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
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))
please help me, if anyone has a sample project of an animated mesh that would be helpfull too
 
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.
 
Back
Top