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
the second scene is played
What kind of scene are you talking about ?
I would like to create 2 scenes something simple like this:
Sounds like a job for Qt3D.
which class of Qt3D ?
The scene related classes will likely be what you want to show your instruments..
I search on internet example project Qt (file .pro) showing multi scene like i want.
That as not much to do with your .pro file. It’s your application that is responsible ton handle multiple scenes.
I found a Qt code snippet related to my simple problem:
- scene1 -> addItem (theQGraphicsItem);
- scene2 -> addItem (theQGraphicsItem);
I then understood that it is necessary to use different pointers scene1 and scene2.
what kind of pointers are these?
they are declared in which function, in which class?
NB: the moderators are not very explicit!
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.