Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Max Primitive count

5 views
Skip to first unread message

listechtony

unread,
Dec 17, 2009, 12:17:01 AM12/17/09
to
If I have a vertex buffer with more than the MaxPrimitiveCount number of
vertices in, what is wrong with doing this in order to render all the
vertices...

hResult = m_pd3dDevice->DrawPrimitive( D3DPT_POINTLIST, 0,
dwNumMaxVerts);hResult = m_pd3dDevice->DrawPrimitive( D3DPT_POINTLIST,
dwNumMaxVerts, m_dwNumCoords - dwNumMaxVerts);

In other words, I first draw all the primitives from the start to the max
number allowable, then I call another drawPrimitive starting from where I
left off in the buffer. This doesn't seem to display all the vertices, just
the dwNumMaxVerts amount, which is not what I was expecting.

0 new messages