Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. OpenGL under QML. Multiple qml items with opengl content
QtWS25 Last Chance

OpenGL under QML. Multiple qml items with opengl content

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 275 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.
  • B Offline
    B Offline
    Bozo77
    wrote on last edited by
    #1

    Hi, I’m trying to combine two qt examples.

    1. Scene Graph - OpenGL Under QML
      https://doc.qt.io/qt-5/qtquick-scenegraph-openglunderqml-example.html

    2. Cube OpenGL ES 2.0 example
      https://doc.qt.io/qt-5/qtopengl-cube-example.html

    I want to replace opengl code from first example and use opengl code from second example. The goal is to draw cube in custom qml item, and then draw multiple cubes. Then each cube item with own mouse area will be controlled separately.
    Is this possible?
    For me is easier to manipulate with qml content instead of using opengl picking objects.

    how can i solve this problem?

    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