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?

  • 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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.