PDA

View Full Version : Vertex sharing



gordon1
01-13-2007, 10:51 AM
A portion of the OpenGL documentation states:

"GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLE_STRIP, and GL_QUAD_STRIP share vertices between their component line segments, triangles, and quads. Other primitives do not."

What about GL_TRIANGLE_FAN or GL_QUADS? Do these primitives cause any vertex sharing to occur?

Tin Whisker
01-13-2007, 01:47 PM
I think fans and quads are turned into triangle lists internally.