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 4 Jan 2024, 09:38 last edited by Gonenb 1 Apr 2024, 10:23
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 4 Jan 2024, 10:13 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 4 Jan 2024, 10:20
      0
      • S SGaist
        4 Jan 2024, 10:13

        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 4 Jan 2024, 10:20 last edited by Gonenb 1 Apr 2024, 10:21
        #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

        S 1 Reply Last reply 4 Jan 2024, 20:05
        0
        • G Gonenb
          4 Jan 2024, 10:20

          @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

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 4 Jan 2024, 20:05 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 6 Jan 2024, 18:50
          0
          • S SGaist
            4 Jan 2024, 20:05

            Which version of Qt are you using ?

            G Offline
            G Offline
            Gonenb
            wrote on 6 Jan 2024, 18:50 last edited by
            #5

            @SGaist He is using 5.7

            S 1 Reply Last reply 7 Jan 2024, 19:45
            0
            • G Gonenb
              6 Jan 2024, 18:50

              @SGaist He is using 5.7

              S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 7 Jan 2024, 19:45 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 9 Jan 2024, 14:40
              0
              • S SGaist
                7 Jan 2024, 19:45

                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 9 Jan 2024, 14:40 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

                7/7

                9 Jan 2024, 14:40

                • Login

                • Login or register to search.
                7 out of 7
                • First post
                  7/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved