Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using QGLBuffer instead of Vertex Buffer Object

Using QGLBuffer instead of Vertex Buffer Object

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FlashMuller
    wrote on 18 Nov 2010, 11:38 last edited by
    #1

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      minimoog77
      wrote on 18 Nov 2010, 12:46 last edited by
      #2

      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.

      1 Reply Last reply
      0

      1/2

      18 Nov 2010, 11:38

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved