The Background leaf node defines either a solid color or a background image used to fill the window |
A Background node is active when its application region intersects the viewer's activation volume |
If no Background nodes are active, then the window is cleared to black |
Background mountains = new Background(); |
mountains.setColor( 0.0, 0.5, 1.0 ); |
mountains.setGeometry( mountainWorld ); |