8.12.10 The Lighting Control Dialog

The lighting control dialog is an implement of the Lighting tab. To bring up the dialog, activate a 3D openGL graph and click the Lighting Control Dialog button Button Lighting Control Dialog.png in the Styles toolbar.

The Source Direction Tab

The Lighting Control Dialog 001.png

To control the direction of lighting source, you need to:

Click on the graphical control button and move it arbitrarily.

or

Enter number of angles of horizontal and vertical direction.

The default position of light source is 0 at horizontal and 90 at vertical.

The possible range of light source is 0 to 360 for horizontal and 90 to -90 for vertical.

Horizontal angle equals 0 is equivalent to that equals 360.


The Properties Tab

The Lighting Control Dialog 002.png

Diffuse

To change the effect of diffuse light, you can

  1. Choose a light color.
  2. Select an intensity value, range from 0 - 100.

A preview effect combined of color and intensity is shown in the right simultaneously with the change of settings, also the effect is shown real-time in the original graph.

The default color is White and default intensity is 100.

Specular

To change the effect of specular light, you can

  1. Choose a light color.
  2. Select an intensity value, range from 0 - 100.
  3. Modify the shininess, range from 0 - 128.

The default light color is Black, intensity of 0 and shininess of 64.