 |
This task shows you how to manipulate light sources along predefined circles that are centered on the light target.
|
 |
The geometry can be illuminated with different light source types. The effect of light and shadows creates the
three-dimensional impression of the geometry. |
 |
 |
Open the LightManager.CATPart document. |
 |
-
Click the Light Manager icon .
The 'Light Manager' dialog box is displayed.
|
 |
|
-
In the dialog box 'Light Manager' click the direction light source Light.1 in the Lights table and rename it to 'Direction'.
|
 |
|
-
Click onto the light source manipulator to activate the Manipulation Mode.
|
 |
|
-
Click onto the arcs at the manipulator to display the direction circles.
|
 |
|
-
Drag the cursor along a circle to modify the light direction.
|
 |
|
-
In the dialog box 'Light Manager', click onto the icon 'Create Light Source' in the frame 'Light Source Options'.
A new light source type Direction is created.
-
Click onto the icon 'Active Light Source Type - Spot' in the frame 'Type'. The light source will be
changed to a light source type Spot.
-
Change the light source name to 'Spot'.
|
|
-
Activate the Manipulation Mode by clicking onto the manipulator.
|
 |
|
-
Click onto the line representing the Y axis to move the manipulator along this axis.
|
 |
|
-
Click onto the handle at the end of the manipulator to rotate the light source.
|
 |
|
-
Click onto the handle at the end of the manipulator to move the target point.
|
 |
 |
You can define the following options:
|
|
New: A new light source depending on the Type selected
is created with the current settings.
The number of definable light sources is limited to 8.
Delete: The light source selected in the lights table
is deleted.
On/Off: Switching on and off the current light source.
- Attached:
- View: The light source is fixed to the view, i. e. in case of geometry rotations its position remains unchanged.
- Model: The light source is fixed to the model coordinate system, i. e. it will be rotated together with the
geometry.
Global: The display of the light source symbols is
globally switched on or off.
|
|
Position tab |
 |
|
- Position: Only available for the light source types Point and Spot.
Defines the exact X, Y, and Z model coordinate values of the selected light source.
With the check button Position can be defined a point element as light source position.
- Direction: Only available for the light source types Direction and Spot.
Defines the exact X, Y, and Z direction coordinates of the selected light source.
In the direction field can be defined the direction via the contextual menu.
With the direction buttons X, Y, and Z, the light sources are aligned to the corresponding axis. With
can be inverted the direction
of the selected axis.
|
|
Parameter tab |
 |
|
- White: The light color is white.
- Color: Defines the color of the light source. With
can be activated the dialog box Color in which the light color can be selected.
- Intensity: Defines the light intensity using the slider or by entering a value directly in the text field.
The intensity of a light source is the maximal lightness value of three colors (ambient, diffuse and specular).
|
|
- Ambient: Defines the intensity of light emitted in any direction by the object, even if not lit by any light
source.
|
 |
|
- Diffuse: Defines the intensity of light diffused by the object when lit by a light source.
|
 |
|
- Specular: Defines the intensity and color of light reflected in one particular direction. This coefficient affects
the highlight on shiny surfaces.
|
 |
|
Spot Parameter tab
(only available for Spot light sources) |
 |
|
- Angle: Setting of the angle of the spot light cone. In case of setting the Angle to 90° and
the Sharpness to 0 a point light source with the same position will result.
- Sharpness: Setting of the sharpness of the spot light cone. Higher values concentrate
the light beam in the centre of the light cone.
|
 |
|
Context Menus
|
|
At the light source manipulators, you can activate with the right mouse button context menus with the following options:
 |
- Manipulation Mode: Switch on and off Manipulation Mode.
- Invert (for Direction light source only): Invert light direction.
- Rotation Free (for Direction light source only): The light source can be rotated freely.
- Rotation around X/Y/Z (for Direction light source only): The rotation is fixed around the selected
axis.
- X/Y/Z Direction (for Direction and Spot light source only): Light direction is the selected axis.
- Compass Direction (for Direction and Spot light source only): Light direction is the compass direction.
- View Direction (for Direction and Spot light source only): Light direction is the view direction.
- Light On/Off: Switching on and off the current light source.
- Attach to View: The light source is fixed to the view, i. e. in case of geometry rotations its position
remains unchanged.
- Attach to Model: The light source is fixed to the model coordinate system, i. e. it will be rotated
together with the geometry.
|
|