many calls to drawprimitive
So I will need to call DrawPrimitive for every single object (Vertex Buffer) like
Thanks for your tips!
LPDIRECT3DVERTEXBUFFER object; // initialized with Sets Of Vertices
/* ... */
/* Drawing object1 */
// This means the Stream must be set everytime again for every single object??
#define ALL_TRIANGLES_OF_OBJECT1 3
/* And this procedure is necessary for EVERY object (that is again calculating the Translation_Rotation Matrix, Setting the Stream, calling Draw Primitive... until every Object is drawn at its new Position)??
I guess this must be even more slowly than locking the VertexBuffers, copy the Objects' new positions to the Vertex Buffer, and finally draw them.
5 calls to SetTransform plus 5 calls to MatrixTranslation(or RotationX_Y_Z) are executed more quickly than 5 calls to Lock() + 5 memcopy()?
Are you sure?