Manipulating Lights
 
 
 

Once you've created your lights, you'll probably want to adjust them and move them around a bit to get just the right illumination for your scene.

You can translate, rotate, and scale a light as you would any other object in your scene. However, scaling a light only affects the size of the icon and does not change any of the light properties. For more information about transformations, see Transformation Basics.

However, scaling does have an effect when manipulating an area light's geometry. You can also transform (scale and rotate) the size of the surface from which the area light rays emanate. For spotlights, you can interactively manipulate their start and end falloff, as well as their spread and cone angles.

Transforming Area Lights

Area lights have a set of manipulators that let you scale the geometric area from which the light rays emanate. You can transform an area light's geometry by changing its scaling and rotation values in the light's property editor or using manipulators in any 3D view.

Transforming Using the Property Editor

  1. Select an area light and press enter on the keyboard to display the selected light's property editor.

  2. On the Area tab, set the Area Transformation values to set the size of the surface from which the light rays emanate:

    • For rectangles, the X and Y values control the length and width when scaling.

    • For discs and spheres, the X value controls the radius and the Y and Z values have no effect when scaling.

    • For cylinders, The X value controls the radius, the Z value controls the length, and the Y value has no effect when scaling.

  3. If desired, set the X, Y, and Z Rotation values to further control the rotation of the surface from which the light rays emanate. X, Y, and Z rotations are always defined according to the geometry's local space; that is, according to its own center of orientation.

    NoteThe center of the area light's geometry is always the position of the underlying point or spotlight. The Z axis of the local coordinates points from the light's center toward its interest. Orientation has no effect on area lights with sphere geometries.

Transforming Using 3D Manipulators

  1. Select an area light and press B to display its manipulators.

  2. Press Tab until the area light geometry appears thicker. This indicates that the manipulators are active.

  3. Drag the manipulators to set the size of the surface from which the light rays emanate:

    • For rectangles, click and drag an edge of the manipulator to scale the light surface in X or Y.

    • For discs and spheres, click and drag anywhere on the manipulator to scale the radius of the light surface.

    • For cylinders, click and drag either end of the cylinder to scale the radius of the light surface. Click and drag the point in the center of either end of the cylinder to adjust the length of the light surface.

Manipulating Spotlight Properties Interactively

A spotlight casts its rays in a cone aimed at its interest. Spotlights have special options that control the size and shape of the cone. You can set these options using the spotlight's 3D manipulators.

Setting Distance Attenuation Using 3D Manipulators

You can set the distance attenuation values using the light's 3D manipulators.

  1. Select the spotlight for which you want to set the falloff.

  2. Press B to display the light's 3D manipulators.

  3. Press Tab until the light's start and end falloff manipulators appear.

    A

    The top circle represents the Start Falloff point.

    B

    The lower circle represents the End Falloff point.

  4. The exterior cone-angle control displays a light blue start falloff disc (if falloff is already activated, you see this before displaying the 3D manipulators).

    Ctrl+click the disc at the base of the white cone angle cone to activate the falloff.

  5. Click and drag this disk toward or away from the light to set the Start value.

  6. The exterior Cone Spread control also displays a magenta end falloff disk at its base. Click and drag this disk toward or away from the camera to set the End value.

  7. Shift+click and drag either disk to increase or decrease both Start and End Falloff values simultaneously. The distance between the planes of each disk remains the same.

  8. To deactivate falloff, Ctrl+click either the start or end falloff disk.

Setting Cone and Spread Angles Using 3D Manipulators

  1. Select a spotlight.

  2. Press B to display the light's manipulators.

  3. Press Tab until the spotlight' cone and spread-angle manipulators appear.

    A

    The white wireframe outline corresponds to the spotlight's Cone Angle.

    B

    The yellow inner, solid cone corresponds to the spotlight's Spread Angle.

  4. The exterior wireframe cone controls the light's cone angle. Click the edge of the cone and drag outward or inward to interactively increase or decrease the Cone Angle value, respectively.

  5. The interior yellow shaded cone controls the light's spread angle. Click the edge of the cone and drag outward or inward to interactively set the Cone Spread value.

  6. Shift+click and drag the edge of either cone to increase or decrease both angles simultaneously. The distance between the angles of each cone remains the same.

    Important

    If you are using a custom light shader, you cannot use the spotlight manipulators in the viewports unless the shader includes a "spread" parameter.

    Otherwise, pressing the B key displays only a single black line projected from the light's origin.