Archived

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

Triangle Lists or Strips

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

This question mite have already been posted, but.. Is it faster to use a big indexed triangle list for a high poly object and draw it with a single call to DrawPrimitive or to triangle strips and drawing it with multiple Drawprimitive calls? Some people say strips are faster, but others say that DX is better off with lesser DrawPrimitive calls. Also, are indexed triangle strips slower than non-indexed ones?

Share this post


Link to post
Share on other sites
indexed triangle strips are considered the best - and they can be quite fast. however, in other instances indexed triangle lists are better. it really just depends on the model and the stripping algorithms one uses. the best thing to do (but the one which also takes a bit more time) is to test out both with a model. whichever one performs better, use that approach for that particular model. therfore you end up with a hybrid draw pipe (at least on the call to DrawPrim). some models will be indexed strips and others will be indexed lists.

however, relating to your question of calls to DrawPrim - always minimize that! that call can be a huge performance bottleneck. the less calls the better.


-tim

Share this post


Link to post
Share on other sites