478

Creating backgrounds
Background color example code

  • Create a background
    Background myBack = new Background( );
    myBack.setColor( new Color3f( 0.3f, 0.0f, 0.0f ) );

  • Set the application bounds
    BoundingSphere myBounds = new BoundingSphere(
        new Point3d( ), 1000.0 );
    myBack.setApplicationBounds( myBounds );