• Advertisement
Sign in to follow this  

Question on triangle strip

This topic is 3979 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,everyone! The problem trouble me about triangle strip. How compute the vertex of triangle trip in the vertex buffer? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
I'm not quite sure I understand your question, but for a triangle strip, you just make an FVF and put some vertices in a structure that follow your FVF. Then copy the structure to the vertex buffer and your pretty much done. You just call DrawPrimitive and use the STRIP enumerator object, the start vertex and end vertex.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement