Problem with DrawIndexedPrimitive

Started by
2 comments, last by neneboricua19 18 years, 7 months ago
Here is the DrawIndexedPrimitive description given by the SDK documentation. HRESULT DrawIndexedPrimitive( D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount ); The SDK description is very brief with only 1 sentence of description. Can anyone explain in greater details on what is BaseVertexIndex and MinIndex? I have no idea what values to pass in for these 2 parameters.
Advertisement
I think, this would help you

DrawIndexedPrimitive Demystified


Regards,

Michael
Don't worry, you aren't alone. I doubt there is a person alive that could understand those docs without help (or lots of trial and error). I'm surprised MS hasn't fixed them by now.
John BoltonLocomotive Games (THQ)Current Project: Destroy All Humans (Wii). IN STORES NOW!
In the August SDK, there is a section titled "Rendering from Vertex and Index Buffers" that FINALLY explains how to use DIP. It's about damn time, I say.

neneboricua

This topic is closed to new replies.

Advertisement