- vispy.scene.cameras package
- Module contents
- vispy.scene.tests package
- vispy.scene.widgets package
The vispy.scene subpackage provides high-level, flexible, and easy to use functionality for creating scenes composed of multiple visual objects.
Scenegraphs are a commonly used system for describing a scene as a hierarchy of visual objects. Users need only create these visual objects and specify their location in the scene, and the scenegraph system will automatically draw the entire scene whenever an update is required.
Using the vispy scenegraph requires only a few steps:
Create a SceneCanvas to display the scene. This object has a scene property that is the top-level Node in the scene.
Create one or more Node instances (see vispy.scene.visuals)
Add these Node instances to the scene by making them children of canvas.scene, or children of other nodes that are already in the scene.
For more information see:
complete scenegraph documentation
scene API reference