Greetings,
I am curious to know if it possible to swap between two (or more) 3D scenes, without needing to rebuild/recreate them on access? What I'm imagining is two different scenes, where each scene contains an interactive model. You can click things on the model, and the scene then updates in response (i.e.: click a door and the door opens). What I would like to be able to do,as an end user, is easily/quickly swap between these two scenes without needing to recreate them. For example:
- Load app with two scenes (neither scene is displayed)
- Access Scene 1, manipulate door (door can be seen open)
- Access Scene 2 (Scene 1 is hidden), manipulate window (window can be seen open)
- Return to Scene 1 (Scene 2 is hidden), Scene 1 is displayed with the door still open (no reloading of the scene/model is done)
- Hide both scenes (neither scene is displayed, but the scene/model is still "ready" to be shown in the future)
Could something of this sort be done? Given how the Viewer and Scene is separated in the example code I can see, I could foresee being doable (viewer.setScene(...)), or perhaps creating two Viewers (one for each scene) and then alternating which one is embedded into the page?
Thanks!
Greetings,
I am curious to know if it possible to swap between two (or more) 3D scenes, without needing to rebuild/recreate them on access? What I'm imagining is two different scenes, where each scene contains an interactive model. You can click things on the model, and the scene then updates in response (i.e.: click a door and the door opens). What I would like to be able to do,as an end user, is easily/quickly swap between these two scenes without needing to recreate them. For example:
Could something of this sort be done? Given how the Viewer and Scene is separated in the example code I can see, I could foresee being doable (viewer.setScene(...)), or perhaps creating two Viewers (one for each scene) and then alternating which one is embedded into the page?
Thanks!