Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 777
MvG Avatar asked Feb 06 '15 21:02

MvG


1 Answers

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

triangle strip diagram

like image 107
rob mayoff Avatar answered Oct 10 '22 20:10

rob mayoff