Archived

This topic is now archived and is closed to further replies.

lly20000

When I was make a ShadowVolume found a question?

Recommended Posts

lly20000    122
Now I was make animate object for LPD3DFRAME and I was look dx9 sdk ShadowVolume example and in this example the object use CD3DMESH to lock vertex buffer and I was use LPD3DFRAME->pMeshContainer->MeshData.pMesh->LockVertexBuffer(0L, (LPVOID*)&pVertices); to lock vertex buffer but found a access error and can''t lock vertex buffer please tell me how to do ???

Share this post


Link to post
Share on other sites