Login  Register

Re: glDrawElements with TRIANGLE_STRIP

Posted by millerni456 on Sep 29, 2011; 7:24pm
URL: https://forum.jogamp.org/glDrawElements-with-TRIANGLE-STRIP-tp3374872p3380260.html

Problem solved!

It was a logic error:
I was not creating enough vertices/indices to make the triangle strip loop. I only created enough vertices to go to the 20th points (on the top and bottom). But in fact I needed to reconnect this to the 1st vertex.

Indices and Vertices make much more sense now ;)