Archived

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

Prozak

Triangle Fans/Strips still used?

Recommended Posts

Whats the "word" on triangle fans/strips? Is it still used? Is it still fast? I had heard something along the lines that it might be slower, and that simple indexed arrays are faster... So, any news on this? Salsa cooked it, your eyes eat it!
[Hugo Ferreira][Positronic Dreams][Colibri 3D Engine][Entropy HL2 MOD][My DevDiary]
[Yann L.][Enginuity] [Penny Arcade] [MSDN][VS RoadMap][Humus][BSPs][UGP][NeHe]
"our stupidity allways comes back to bite us in the ass... in a white-shark sort of way..." - Prozak

Share this post


Link to post
Share on other sites
Yes.

Best to Worst:
Indexed Triangle Strips
Indexed Triangles
Triangle Strips
Triangles
glVertex ^^


You can consider Quad as even better than triangles, but you''re not likely using quad based models anyway.


-* So many things to do, so little time to spend. *-

Share this post


Link to post
Share on other sites
this is not always true for all APIs.for example,Tom forsyth said on GDAlgorithms mailing list that some times with a clever artist, the triangle list can be faster on PS2.

Share this post


Link to post
Share on other sites
The benefit of quads is questionable, considerung that most modern cards internally convert them to triangles anyway. And stay away from triangle fans - their batching behavior is horrible, except if you have a very large number of tringles in each fan (around 6000 or so), which is very rare.

Michael K.,
Co-designer and Graphics Programmer of "The Keepers"



We come in peace... surrender or die!

Share this post


Link to post
Share on other sites
quote:
Original post by mohamed adel
this is not always true for all APIs.for example,Tom forsyth said on GDAlgorithms mailing list that some times with a clever artist, the triangle list can be faster on PS2.


well, if your model would result in hundreds of short strips the overhead for drawing them might well be more than any benefit you got from sending a few less indices. a moot point anyway, unless youre drawing the geometry so naked that youre not fillrate limited.

Share this post


Link to post
Share on other sites