512

Working with fog
Clip example code

  • Create a clip
    Clip myClip = new Clip( );
    myClip.setBackDistance( 30.0 );

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