strips form a strip of connected triangles.
maintain a consistent winding, the vertices are not
in the order specified; rather the pattern is
- v0, v1, v2
- v2, v1, v3
- v2, v3, v4
- (and so on)
advantage of GL_TRIANGLE_STRIP
- After the first triangle, specifying the
next triangle only requires one additional vertex. This results in less data to store and
- If there are N
vertices, whereas a triangle strip of N
triangles requires only N+2 vertices.
the GPU, a set of vertices are stored in a buffer. When
one calls glDrawArrays
GL_TRIANGLE_STRIP, three vertices are rendered as a triangle.glDrawArrays(GL_TRIANGLE_STRIP,