Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualMedo3337

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.


#1Medo3337

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.


PARTNERS