The Scene Graph exposes the objects contained in a loaded scene as a navigable hierarchy of nodes. To perform an operation
on a scene object, you require the node ID of the object of interest. A representation of the nodes and structure typically
encountered in a Scene Graph is shown in the following illustration.
Note the following:
- Scene Graph Utilities: SceneGraphUtilities.py provides utilities for traversing the Scene Graph and operating on its nodes.
- Node IDs: Each node is identified by a node ID, required for most operations.
- Root Node: To obtain the node ID of the root, listen for the SET_DRAW_ROOT Message. This is broadcast by Showcase when it loads a scene, and supplies the node ID of the root.
- Organizer: Showcase features an Organizer window that displays the hierarchy of a scene similarly to the Scene Graph. However, this
should not be confused with the Scene Graph. To display the Organizer window, press the “O” hotkey while the Showcase (or
Showcase Console) application is running.
- Lights: Lights are always attached directly to the root node.