Search code examples
openglgl-triangle-strip

Cube using single GL_TRIANGLE_STRIP


Is it possible to draw a whole cube using just a single GL_TRIANGLE_STRIP?

Obviously it's just the cube combinatorics I'm concerned about here, it might as well be stretched into any kind of box or similar object.


Solution

  • From the paper Optimizing Triangle Strips for Fast Rendering by Evans, Skiena, and Varshney:

    triangle strip diagram