Sign in to follow this  
hsl9999

Question on triangle strip

Recommended Posts

hsl9999    108
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
Programmer101    199
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this