Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...