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. Interactive QWidgets in OpenGL
Qt 6.11 is out! See what's new in the release blog

Interactive QWidgets in OpenGL

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 593 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.
  • njbrownN Offline
    njbrownN Offline
    njbrown
    wrote on last edited by
    #1

    Hi,

    I am trying to achieve something similar to what the unreal engine does with virtual reality editing:
    alt text
    video link:
    https://youtu.be/JKO9fEjNiio?t=1m

    I need to be able to render arbitrary qt widgets to a texture, display it in a plane in 3D and send back touch and scroll events to the widgets whenever the user interacts with them in virtual reality.

    Has something like this ever been done before in Qt? (Even with just plain OpenGL and not in VR)
    Is it feasible to render a qwidget to a texture then display it at 60+fps?
    Would it be possible to do this without showing the widget in the main application's ui?

    I'll update this thread with my findings and results from experiments.

    Here are the requirements in checklist form:

    1. Render qt widgets to an image then upload it to an OpenGL texture
    2. Collect touch events in OpenGL then send them to the qt widgets

    The project is on github if you're interested in helping out:
    https://github.com/jahshaka/VR

    Thanks in advance.

    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