Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Triangle list or triangle strip?

This topic is 6804 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

Could anyone tell me what is better in DX7? I think the triangle strip is faster because the vertices is less. I don''t know why the triangle list is faster in my program!!! Thanks.

Share this post

Link to post
Share on other sites
Read this: DirectX Developer Faq, especially on vertex buffers.

DirectX is optimized for batch rendering, i.e. you should try to render as much as possible with every call to DrawPrimitive() or DrawIndexedPrimitive(). Triangle strips are faster than triangle lists for an equal number of triangles. However, with triangle strips you may have to make several calls to DrawPrimitive(), but with triangle lists all triangles can be drawn with one call.

(As a sidenote, several trianglestrips can be concatenated by adding some degenerate triangles between them. Personally though, I don''t like this approach.)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!