Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. QOpenGLWindow or QOpenGLWidget if need to render to framebuffer?
Forum Updated to NodeBB v4.3 + New Features

QOpenGLWindow or QOpenGLWidget if need to render to framebuffer?

Scheduled Pinned Locked Moved Unsolved Game Development
2 Posts 2 Posters 1.3k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kevin0228ca
    wrote on last edited by
    #1

    Hi,
    I was wondering between the difference between QOpenGLWindow and QOpenGLWidget.
    I read that
    "OpenGLWindow renders directly to the given window, while QOpenGLWidget renders to offscreen buffer that is then rendered to the widget"

    I have to do some rendering to the framebuffer, as that is necessary for displaying in Oculus Rift.
    However, it seems unable to do so in our software which is built upon QOpenGLWindow.
    So, question is, is it possible to render to a framebuffer using QOpenGLWindow? or should I use QOpenGLWidget?
    Thank you.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should bring this question to the interest mailing list. You'll find there Qt's developers/maintainers as well as the guys behind Qt3D. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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