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. (1) What is Scene Graph and (2) What is opengL ?
Forum Updated to NodeBB v4.3 + New Features

(1) What is Scene Graph and (2) What is opengL ?

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

    These two are different question.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Big questions. I suggest checking out wikipedia :-)

      In a huge, over-simplified summary:

      • OpenGL is a 3D graphics framework, commonly implemented in GPU drivers of all vendors (nVidia, AMD, Intel, Qualcomm, etc.) and software renderers (MESA). It contains building blocks for building and displaying graphic scenes
      • scene graph - in context of Qt, it is the drawing backend of QtQuick. Initially, it was built on top of OpenGL, although recently it's being ported away from it, to allow QtQuick scenes to be drawn within other graphic contexts (software renderer, DirectX, Metal etc.). More info in the docs.

      (Z(:^

      JonBJ 1 Reply Last reply
      6
      • sierdzioS sierdzio

        Big questions. I suggest checking out wikipedia :-)

        In a huge, over-simplified summary:

        • OpenGL is a 3D graphics framework, commonly implemented in GPU drivers of all vendors (nVidia, AMD, Intel, Qualcomm, etc.) and software renderers (MESA). It contains building blocks for building and displaying graphic scenes
        • scene graph - in context of Qt, it is the drawing backend of QtQuick. Initially, it was built on top of OpenGL, although recently it's being ported away from it, to allow QtQuick scenes to be drawn within other graphic contexts (software renderer, DirectX, Metal etc.). More info in the docs.
        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @sierdzio
        Possibly a bit OT, but while we're here may I ask for a one sentence answer: why do most games I play (on PC) tend to use DirectX and not OpenGL, for which they may have support but often do not?

        J.HilkJ sierdzioS 2 Replies Last reply
        0
        • JonBJ JonB

          @sierdzio
          Possibly a bit OT, but while we're here may I ask for a one sentence answer: why do most games I play (on PC) tend to use DirectX and not OpenGL, for which they may have support but often do not?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @JonB said in (1) What is Scene Graph and (2) What is opengL ?:

          @sierdzio
          Possibly a bit OT, but while we're here may I ask for a one sentence answer: why do most games I play (on PC) tend to use DirectX and not OpenGL, for which they may have support but often do not?

          performance.

          DirectX(Windows), Metal(iOS&macOS), Vulcan(android/some of linux) are highly specified graphic apis that allow for much better specialization.

          Additionally to that, openGl is very basic stuff like for example raytracing (as far as I know) not possible with it


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          4
          • JonBJ JonB

            @sierdzio
            Possibly a bit OT, but while we're here may I ask for a one sentence answer: why do most games I play (on PC) tend to use DirectX and not OpenGL, for which they may have support but often do not?

            sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by sierdzio
            #5

            @JonB said in (1) What is Scene Graph and (2) What is opengL ?:

            @sierdzio
            Possibly a bit OT, but while we're here may I ask for a one sentence answer: why do most games I play (on PC) tend to use DirectX and not OpenGL, for which they may have support but often do not?

            I am far too inexperienced in this topic to answer correctly, sorry.

            From what I've heard, DirectX is just much easier to use and tends to evolve more quickly. Esp. back in early 2000' OpenGL was lagging behind heavily, and DirectX sprung to life as the only modern option. Times have changed, now both technologies are more on par, but the historical baggage remains. Also, for a long time AMD, nVidia and Intel drivers had better DirectX support than OpenGL support in their drivers, IIRC.

            As said, though, I may be very wrong here, I don't know these technologies nearly at all.

            (Z(:^

            1 Reply Last reply
            4
            • J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by J.Hilk
              #6

              If there's some interest in this topic for you two/three
              I would suggest checking TheCherno

              He has a YouTube series where he writes his own GameEngine in c++.

              Very interesting, and he goes into detail about OpenGL Direct X etc.


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              Bhushan_SureB 1 Reply Last reply
              6
              • J.HilkJ J.Hilk

                If there's some interest in this topic for you two/three
                I would suggest checking TheCherno

                He has a YouTube series where he writes his own GameEngine in c++.

                Very interesting, and he goes into detail about OpenGL Direct X etc.

                Bhushan_SureB Offline
                Bhushan_SureB Offline
                Bhushan_Sure
                wrote on last edited by
                #7

                @J.Hilk @sierdzio @JonB Thank you for your inputs :)

                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