Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

Using QGLBuffer instead of Vertex Buffer Object



  • Hey guys,
    I'm kind of lost right now. I'm working with OpenGL in Qt and I wanted to use the QGLBuffer as VertexBuffer. Placing data inside the Buffer is working fine, I just have got no idea how to read it out and display it correctly. Do I have to stick to "standard OpenGL" tutorials or is there a Qt-Specific way?
    Thanks



  • Just use it like regular vertex buffer object, bind it, and then use one of many glDraw* commands...

    There should be enough tutorials on the web about vertex buffer objects.


Log in to reply