multi scenes
-
wrote on 14 Jun 2018, 12:37 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 playedthanks
-
Hi,
What kind of scene are you talking about ?
-
wrote on 18 Jun 2018, 14:18 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
-
Sounds like a job for Qt3D.
-
wrote on 18 Jun 2018, 21:44 last edited by
which class of Qt3D ?
-
The scene related classes will likely be what you want to show your instruments..
-
wrote on 23 Jun 2018, 15:16 last edited by
I search on internet example project Qt (file .pro) showing multi scene like i want.
Which link? -
That as not much to do with your .pro file. It’s your application that is responsible ton handle multiple scenes.
-
wrote on 24 Jun 2018, 14:22 last edited by signalK
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.
My question:
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.
2/10