PDA

View Full Version : simple question



mdog1234
04-14-2003, 10:29 PM
Is there any performance gain/loss from using glBegin(GL_TRIANGLE_STRIP) over glBegin(GL_POLYGON)?

JustHanging
04-15-2003, 12:02 AM
Hi, there's very likely to be some gain with strips. Triangle fans are propably faster than polygons too, and with them you don't have to change the vertex order.

-Ilkka

raverbach
04-15-2003, 05:44 AM
Stick to the simplest geometry possible http://www.opengl.org/discussion_boards/ubb/smile.gif

use trangles , quads ans strips

mdog1234
04-15-2003, 07:33 AM
ok thanks