This task shows you how to manipulate light sources along predefined circles that are centered on the light target. | ||
Open the FreeStyle_Part_26.CATPart document. |
||
|
||
|
||
|
||
Manipulators appear in the 3D geometry and the red arrow represents the light direction (i.e. the target): |
||
|
||
When you point at an arrow, a predefined dotted circle is
displayed. If you drag your mouse along that circle, the light source is rotated along its axis. |
||
|
||
Now if you position your mouse over an arc, a predefined dotted circle will also appear. | ||
|
||
|
||
|
||
|
||
Note that you can move the light position
step-by-step by pressing the Ctrl key then dragging your mouse
simultaneously. By default, the light source is rotated 10 degrees by 10
degrees but you can modify this value if needed via the Direction dialog
box. |
||
|
||
|
||
Edit Light Direction |
||
This dialog box lets you edit the light direction, the rotation step as well as the quick orientation. | ||
|
||
|
||
For instance, clicking X+ means that the light
source will be rotated by the specified angle positive (i.e. clockwise)
around the X axis whereas clicking -X will rotate the light source by the
specified angle negative (i.e. anticlockwise) around the X axis: |
||
|
||
|
|
|
Note that using these buttons amounts to
manipulating the light source directly in the geometry area using the Ctrl
key. |
||
|
||
|
||
When satisfied, click OK to validate your parameters. | ||
Edit Light Parameters |
||
This dialog box lets you modify the intensity of a light source is the maximal lightness value of three colors: Ambient, Diffuse, and Specular. | ||
|
||
For detailed information on this dialog box, refer to Adjusting Light Source Parameters in the Real Time Rendering documentation. | ||
Save Light Direction |
||
This dialog box lets you save the light source position. | ||
|
||
Once you are
satisfied with the position of your light source, click the Save
button to store the light position. When finished, click OK to validate. |
||
If you want to use afterwards one of the light positions you saved, just re-select the Save Light Direction contextual command then double-click the desired position: the light position will be updated accordingly in the geometry area. | ||
Rotation |
||
The rotation commands let you rotate the light
source around the absolute axis system:
|
||
When you select the rotation around the X, Y or Z axis, the green manipulators are hidden and only the light target is displayed: | ||
|
||
Lock Manipulator |
||
When you point at one of the two green
manipulators then right-click, you can also lock the selected manipulator
using the Lock Manipulator contextual command. This command applies to the
local X and Y axes of the light source.
Locking a manipulator means that the rotation in the plane defined by the selected manipulator will be locked: the locked manipulator is hidden and you will only be able to move your light source around the unlocked axis of the light source which means that the mouse will move only up or down. |
||
|
||
Once a manipulator is locked, you can also
click anywhere in the geometry area then press the space bar to hide the
manipulator symbol. This is especially useful when working with big models because you can still change the light position by pointing at the hidden manipulator (in that case, the cursor shape changes) without being bothered by the display of this manipulator on your model. |
||
This is illustrated by the example below in
three steps (from left to right):
|
||
|
||
|
||
|
||
|
||
|
||
To redisplay the manipulator, you just need to press the space bar again. | ||
|