PDA

View Full Version : Triangle strips vs triangle fans



zeraiam
12-15-2001, 04:01 AM
Hi
I would like to know to what extent triangle fans are more efficient (in speed) than triangle strips.
Since I'd be likely to use more glBegin-glEnd (or glDrawElements or whatever) calls if I use triangle fans, would this overhead be compensated by the less number of transformed vertices ? Or is there a minimum number of vertices per-fan that would garanty its efficiency over strips (to draw roughly the same object)?

mikael_aronsson
12-15-2001, 09:27 AM
Hi !

I don't think there is any speed difference between fans and strips, they are useful for different kinds of geometry.

I do think most cards have an optimal size for begin/end but it's different for each card and you can't find out anything about it.

Mikael

zeraiam
12-17-2001, 11:06 AM
well thank you,
then I'll use strips since it's easier to adapt them to any mesh.