Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Draw more than one triangle strip using index buffer and drawElements?



  • Is it possible to draw more than one triangle strip using drawElements with vertex indices stored in indexBuffer?
    I found that in OpenGL is possible to split indices in triangle strips with glPrimitiveRestart function. How the same thing can be done in Qt OpenGL? Is there a way to split indices in indexBuffer and to draw more than one triangle strip using drawElements function?


Log in to reply