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. OpenGL Volume Rendering Qt6
Servers for Qt installer are currently down

OpenGL Volume Rendering Qt6

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 444 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.
  • Z Offline
    Z Offline
    Zeroth
    wrote on 10 May 2023, 06:02 last edited by
    #1

    Hi Everyone,
    I am developing a Volume rendering tool using OpenGL and Qt6. (I would like to use Qml/QtQuick if possible).
    I am not getting a good starting point, an example or something.
    What I am trying to build is very similar to https://martinopilia.com/posts/2018/09/17/volume-raycasting.html .
    Can someone please point me in the right direction?

    Thanks,
    Abhishek

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SamiV123
      wrote on 10 May 2023, 09:26 last edited by
      #2

      Mind you volume rendering, raycasting or any other such graphics algorithm has really nothing to do with Qt per se. I recommend you get a copy of some graphics programming book or search online for the algorithms that you want to implement.

      On this forum you might ask about integration of some graphics API such as and some 3rd party or custom made renderer to a Qt based application.

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SimonSchroeder
        wrote on 11 May 2023, 08:15 last edited by
        #3

        Qt will only give you the widgets you need. It provides either an OpenGL widget or a Vulkan widget. Everything else concerning volume rendering is not Qt-related. Qt will just help you to have some nice buttons to change parameters. (And you'll get mouse events for your OpenGL/Vulkan widget that you can use for interaction.)

        With a quick google you'll find examples how to create an OpenGL widget in Qt.

        Z 1 Reply Last reply 22 May 2023, 01:57
        0
        • S SimonSchroeder
          11 May 2023, 08:15

          Qt will only give you the widgets you need. It provides either an OpenGL widget or a Vulkan widget. Everything else concerning volume rendering is not Qt-related. Qt will just help you to have some nice buttons to change parameters. (And you'll get mouse events for your OpenGL/Vulkan widget that you can use for interaction.)

          With a quick google you'll find examples how to create an OpenGL widget in Qt.

          Z Offline
          Z Offline
          Zeroth
          wrote on 22 May 2023, 01:57 last edited by
          #4

          @SimonSchroeder @SamiV123 Thank you for your response.
          I understand the OpenGL / Vulkan code is out of the scope of this forum.
          I am more interested in having a great UI around the OpenGL/Vulkan. The OpenGL/Vulkan widget looks good, but is something similar for QtQuick/QML?

          Thanks.

          S 1 Reply Last reply 22 May 2023, 06:43
          0
          • Z Zeroth
            22 May 2023, 01:57

            @SimonSchroeder @SamiV123 Thank you for your response.
            I understand the OpenGL / Vulkan code is out of the scope of this forum.
            I am more interested in having a great UI around the OpenGL/Vulkan. The OpenGL/Vulkan widget looks good, but is something similar for QtQuick/QML?

            Thanks.

            S Offline
            S Offline
            SimonSchroeder
            wrote on 22 May 2023, 06:43 last edited by
            #5

            @Zeroth said in OpenGL Volume Rendering Qt6:

            The OpenGL/Vulkan widget looks good, but is something similar for QtQuick/QML?

            I don't have experience with QML. However, the first hit on Google is this: https://doc.qt.io/qt-6/qtquick-scenegraph-openglunderqml-example.html . It also links to a version for Vulkan: https://doc.qt.io/qt-6/qtquick-scenegraph-vulkanunderqml-example.html . And there is also Direct3D 11 and Metal.

            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