Setting Depth Effects

This tasks explains how to achieve 3D depth effects, namely, clipping geometry between clipping planes and creating fog effects.
Insert the following cgr files:


  1. Select the View->Depth Effect... command or the Depth Effects icon in the DMU Viewing toolbar to display the Depth Effect dialog box.

The orange sphere completely encompasses the objects in your document. The white cross represents the center of the objects in the geometry area.

The color of the area behind the orange sphere is the background color of your document.

The vertical lines represent the front (near) and back (far) clipping planes.

By default, depth effects are deactivated: if you zoom in and out, you will see that for the moment the geometry is not clipped.

You can keep the Depth Effect dialog box open and continue working with other commands. You will be able to understand the results obtained by setting depth effects by zooming in and out.
  1. Set the Near Limit and Far Limit by checking the Fixed checkbox for each option, entering values and pressing Enter in each case.
    Note that location of the vertical lines representing the clipping planes has changed.


  1. Zoom in progressively to see how the geometry is clipped by the near clipping plane.
    The back (far) section of the geometry is clipped. You now only see what is located between the near and far clipping planes.


  1. Zoom out to see all the geometry.

  2. Click the Foggy option.
    The foggy option introduces a foggy effect.




  1. Zoom out again.
    As you zoom out, the fog effect is increased. The fog gets thicker as you continue to zoom out beyond the back clipping plane.