Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Posted 20 April 2013 - 12:43 AM

I notice that the triangles are only valid when the mesh position is XYZ: (0.0f, 0.0f, 0.0f) but when the mesh move to any other position, the results assume that the position is still 0.0f, 0.0f, 0.0f.


Posted 19 April 2013 - 11:17 PM

I also use:

mesh->CloneMeshFVF( D3DXMESH_MANAGED, mesh->GetFVF(), device, &mesh);
WORD* pIndices;
D3DVERTEX* pVertices;

before locking the vertex and index buffer.