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. Graphic corruption using Ogre with Qt
QtWS25 Last Chance

Graphic corruption using Ogre with Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
opengl
7 Posts 2 Posters 1.1k 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.
  • G Offline
    G Offline
    Gonenb
    wrote on last edited by Gonenb
    #1

    I'm working on rendering engine SDK, which is using Ogre3D internally,
    Someone started using the SDK with QT, and had some graphic issues, he is using both QT widgets, and the SDK (not overlapping, the Ogre is in the middle, and the widgest on both left and right sides)
    I've tracked the root cause to QT modifying the OpenGL state, then the render is messed up. When using DirectX, all is fine, but in mobile, there is no other option but OGL.

    So the question is, how is QT handling OpenGL apps, without ruining the OGL state? do they have to call something before calling render in order to restore the state that QT modified? how does that work internally?

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

      Hi and welcome to devnet,

      I haven't used Ogre at all but they seem to have an integration for Qt as shown here.

      Hope it helps

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

      G 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        I haven't used Ogre at all but they seem to have an integration for Qt as shown here.

        Hope it helps

        G Offline
        G Offline
        Gonenb
        wrote on last edited by Gonenb
        #3

        @SGaist I'm using an older Ogre version, that doesn't have that yet, and also, Ogre is wrapped in the SDK, so I have to understand better how the integration works.

        In genera, trying to understand the QT side, how does it handle OpenGL with OpenGL app, how is that working without crushing each other's GL state

        SGaistS 1 Reply Last reply
        0
        • G Gonenb

          @SGaist I'm using an older Ogre version, that doesn't have that yet, and also, Ogre is wrapped in the SDK, so I have to understand better how the integration works.

          In genera, trying to understand the QT side, how does it handle OpenGL with OpenGL app, how is that working without crushing each other's GL state

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Which version of Qt are you using ?

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

          G 1 Reply Last reply
          0
          • SGaistS SGaist

            Which version of Qt are you using ?

            G Offline
            G Offline
            Gonenb
            wrote on last edited by
            #5

            @SGaist He is using 5.7

            SGaistS 1 Reply Last reply
            0
            • G Gonenb

              @SGaist He is using 5.7

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              That version of Qt is more than outdated. Would it be possible to update to something more current such as 5.15 ?

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

              G 1 Reply Last reply
              0
              • SGaistS SGaist

                That version of Qt is more than outdated. Would it be possible to update to something more current such as 5.15 ?

                G Offline
                G Offline
                Gonenb
                wrote on last edited by
                #7

                @SGaist Does it matter?
                How is 5.15 handling OpenGL apps when its internally using OpenGL?

                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