This sets which scene graph is currently rendered
| <viz>.scene( | |
| sceneNumber | # scene number |
| eye = BOTH_EYE | # LEFT_EYE and RIGHT_EYE |
)
sceneNumber
Specifies the scene number between 1 and 6.
eye = BOTH_EYE
Parameter is only applicable when rendering a scene in stereo. This specifies which eye the scene should be displayed to. If no parameter is sent for eye, then the scene is displayed to both eyes (this is the normal situation). One might send different scenes to different eyes to create specialized stereoscopic effects. Use the following constants:
viz.LEFT_EYE
viz.RIGHT_EYE
viz.BOTH_EYE
Use this command switch to a different scene (scene graph). When adding child objects to the scene graph, VIZ adds new object to scene 1 by default. It is possible to instead add them to any one of 6 scenes. Once created, the different scene can immediately be switched to by issuing this command. By default, a scene is visible to both the LEFT and RIGHT eyes.
None
Add 3D model to a specific scene