Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved multi scenes

    Game Development
    2
    10
    2777
    Loading More Posts
    • 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.
    • S
      signalK last edited by signalK

      Hi,

      I create two 2D or 3D scenes

      What to do (which class to use ?) to put these scenes together end to end
      the first scene is played
      then
      the second scene is played

      thanks

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        What kind of scene are you talking about ?

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

        1 Reply Last reply Reply Quote 0
        • S
          signalK last edited by signalK

          I would like to create 2 scenes something simple like this:

          https://drive.google.com/file/d/1SbbpP0jVABAugxRtqfTOrSH2p90Mm79M/view?usp=sharing

          thanks

          1 Reply Last reply Reply Quote 1
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Sounds like a job for Qt3D.

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

            1 Reply Last reply Reply Quote 0
            • S
              signalK last edited by

              which class of Qt3D ?

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by SGaist

                The scene related classes will likely be what you want to show your instruments..

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

                1 Reply Last reply Reply Quote 0
                • S
                  signalK last edited by

                  I search on internet example project Qt (file .pro) showing multi scene like i want.
                  Which link?

                  1 Reply Last reply Reply Quote 1
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    That as not much to do with your .pro file. It’s your application that is responsible ton handle multiple scenes.

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

                    1 Reply Last reply Reply Quote 0
                    • S
                      signalK last edited by signalK

                      I found a Qt code snippet related to my simple problem:

                      1. scene1 -> addItem (theQGraphicsItem);
                      2. scene2 -> addItem (theQGraphicsItem);

                      I then understood that it is necessary to use different pointers scene1 and scene2.
                      My question:
                      what kind of pointers are these?
                      they are declared in which function, in which class?

                      NB: the moderators are not very explicit!

                      1 Reply Last reply Reply Quote 1
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        Before dimming your problem simple, you might want to consider providing a more thorough description of what exactly you want to achieve. Using a framework where you can do 2D/3D rendering with raw OpenGL or more sophisticated high level classes as well as video rendering, asking how to show a 2D/3D scene is not exactly the same as asking how to show two videos showing 2D/3D scenes.

                        Therefore, can you explain exactly what your application is about and what exactly you are trying to show ?

                        On a side note, criticising all the moderators when only one of them answered you, trying to help you with the limited information you gave, isn't really a good attitude.

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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post