Lights


Lights tools

Purpose

The Lights tools are used to create, edit, and place lights in a scene.

How to Use

To use a Lights tool, select it from the Lights cascading menu in the Tool Palette, or click one of these icons.

Lights Hints & Tips

Lighting is the most crucial element of any scene.

The best way to get nice looking realism in interior spaces is to use your eyes first and look very carefully at the shade and shadow in the spaces around you.

Use lots of lights (100-200) for an interior space of medium size) and make sure everything is linked and exclusive. Shadows are also very critical depending on what sort of effect you're going for-raycasting may be better than raytracing and in some situations raytracing can be faster, but there are lots of ways to optimize down to reasonable 10-20min/frame renders.

Also, try using some negative intensity lights, such as in areas under tables. The well lit spaces you see in magazines aren't the real lighting in those spaces, so there is no reason to try to light your models realistically (meaning, placing a light only where a physical light would be). Because Alias doesn't trace ambient rays or calculate any secondary source contributions, you have to fake them with lots of lights or area/line lights, or put ramps on everything.

Using Lights

There are seven Lights from which to choose. The following shows the icons that are displayed in the Multi-lister when you place a light.

Note: The Volume light type can be displayed in several different ways. See the description of the Volume light for more information.

How to Use

In the Tool Palette, select Lights from the Objects menu and click the arrow to the right of the heading to see the cascading menu, or click the small yellow arrow with the right mouse button in the icon to see all the Lights icons.

To place a light, click in the modeling window. The icon that represents the light you selected is displayed.

Tip: Alternatively, the light can be placed by typing a coordinate in the prompt line.

Editing existing lights

You can edit existing lights by opening the Multi-Lister and double-clicking the light icon. The control window for that light is displayed.

Common Lights Options

The Lights options are used to apply specific default parameters to any new light you create. To display the option box for a specific light, you can do one of two things:

Color

These fields represent the color of the lights. The initial default is white. To change the color of the light, click in the field, type a new value and press Enter.

Intensity

Use this slider to set the brightness of the light. The initial default is 1.0000. Setting a light to 0.0000 means that no light is produced. Setting a light to a negative value means that the light is removed from a scene in the area of the light's influence.

Tip: Negative intensity can be used to reduce or remove hot-spots or glare.

Decay

Use this slider to control how quickly the light fades with distance. It can be set to a value from 0 to 3. The initial default is 0.

Shadows

This toggle is used to control whether or not a light casts shadows if the image is RayTraced. The initial default for all lights is OFF.

Note: Only spot lights can cast shadows when using the RayCaster.

Exclusive

If toggled ON (indicated by a check mark), objects that are linked to the light are illuminated. If toggled OFF, a non-exclusive light illuminates objects that have no light links. The default is OFF (see Windows Light link editor for details).

Lights Descriptions

The following sections briefly describe each light type.

Point

Point source lights are like incandescent light bulbs-they throw off light in all directions.

Spot

Spot lights cast light in one direction only, emanating from a point in a cone.

The following section describes additional Spot light options.

Spread

The value in this slider is used to adjust the measure of the angle from edge to edge of the spot light's beam in degrees. The range is from 2 degrees to 179 degrees. The default is 90 degrees.

Tip: Resolution problems can occur when the spread is set to a value greater than 170 degrees (smaller objects do not produce shadows with a light spread that large).

Dropoff

The value in this slider is used to control the rate at which light intensity decreases from the center to the edge of the spotlight beam. The range is from 0 to infinity. The default value is 0, which means there is no dropoff.

The dropoff range usually used is from 0 to 50. Values of 1 and less give almost the same result (no discernible intensity decrease along the radius of the beam).

Penumbra

The Penumbra is an alternative way of controlling the dropoff of the spotlight's intensity towards the edge of the cone.

The value is defined in degrees relative to the spot light's spread. The intensity of the spotlight falls off linearly between the angle specified in Spread, and the Spread angle and Penumbra are added together.

For example, a Spread of 50 degrees and a Penumbra of 10 degrees would mean that the spotlight had an effective spread of 60 (50 + 10) degrees, but the intensity of the spotlight would dropoff to 0.0 between the angles of 50 and 60 degrees. A negative penumbra maintains the effective spread angle as specified. For example, a Spread of 50 degrees with a Penumbra of -10 means that the spot light has an effective spread of 50 degrees and the intensity of the spot light would dropoff to 0.0 between the angles of 40 and 50 degrees.

Edge Quality

This value sets the blur filter size for shadow depth maps. At low values (1 or 2) slight aliasing (staircasing) may appear around shadow edges. Increasing the Edge Quality corrects this problem, but it may take longer to render.

Resolution

The value in this slider is used to define the size of shadow depth maps used in RayCasting. Resolution is the primary factor in determining the softness of shadows, but the spot light spread and edge quality also affect the general blur level. The shadow map is defined relative to the cone of the spot light, thus a tightly focused spread creates sharper shadows. For example, a spread of 90 requires a Resolution value twice that of a spread of 45 to match the sharpness of the shadows.

Tip: Large values provide sharper edged shadows, but can slow down your rendering time and uses more memory. Very soft and smooth shadows can be obtained using a value of about 50. Lower values are also faster and consume less memory.

Fog Samples

This parameter is only relevant when light fog shadows are to be computed. The higher the value for this parameter, the better the fog shadow quality. Usually, the default is good enough, but sometimes where there is little detail, such a value can miss important fog shadow features, or produce jittery results. By increasing this value (up to the depth map resolution), the quality will be increased, as will rendering time

Min Depth

The Min Depth is the world space difference that a point is moved towards a spotlight before shadowing is calculated. The value in this slider is used to correct self shadowing problems in RayCast shadows. If this value is 0, an object shadows itself by 50% (if it casts shadows) when the light is inclined at an angle to the surface.

Tip: A relatively small Min Depth value can bring the surface out of its own shadow, especially when combined with the Blend Offset value. If the surface does not need to cast shadows but only to receive them, you should toggle Shadows OFF for the object in the Render Stats window, and in such a case, a Min Depth value of 0 is fine. For example, when working with a groundplane, if the Min Depth value is too high, shadows do not cast from objects that are very close.

Blend Offset

The value in this slider is used to offset a depth of the blended shadow sample, but not the depth of the center sample. A zero sample region is a plane tangent to the light direction vector. As the value increases, the sample region becomes a cone whose outer edges are towards the light.

Shadows

This toggle is used differently when you are using a Spot light. It controls whether or not a spotlight casts shadows.

Hint on Using Spotlights

Q: I need a spotlight with fog to take a non-circular shape. I need it to conform to the shape of a rectangular window. The light conforms fine but the fog maintains its shape.

A: Place the light so that the wall surrounding the window will cast a shadow into the volume of fog, then raycast it. Also, if Glow or Halo are ON (in the Active Effects section of the SPOT light editor accessed from the Multi-lister) the fog will "bleed" over objects that are actually in front of it.

Directional

Directional lights are directional source lights that have color, intensity, and direction, but no obvious source in the scene. For example, the sun can be considered a directional light since it is far enough away that light rays emanating from it are effectively parallel. Directional lights do not decay with distance.

Note: Because directional lights only have a direction, their location is unimportant - in the RayTracer they can cast shadows on objects `behind' their apparent location in a scene.

Ambient

Ambient lights are similar to Point lights except that only a portion of the illumination emanates from the point. The remainder of the illumination comes from all directions and lights everything uniformly.

The following is a description of an additional Ambient light option.

AmbientShade

Use the AmbientShade slider to define the omnidirectional component of the ambient light. By setting the slider to 0.0000, ambient light comes from all directions and surfaces will show no depth definition and appear flat shaded. If set to 1.0000, the ambient light comes solely from the position of the light and objects show definite edge contrast.

Area

An Area light is a two-dimensional rectangular light source. Area lights represent a large even rectangle of light which is often used to create rectangular reflections off surfaces (for example, like windows). An Area light is initially two units long and one unit wide. The size and proportion of Area lights can be changed using Xform Scale or Xform Nonp scale.

Tip: The diffuse component of area lights is very small. If you want greater diffusion, move the light further from the object and increase its intensity.

Volume

Volume lights define a closed volume in which objects will be illuminated, and nothing outside the volume is directly illuminated by the light.

Within the volume, the direction and intensity can vary in many different parameters. A Volume light is a convenient way to "link" a light spatially, instead of by object. The main use of the volume light is to be a force field generator and particle emitter.

Shape

Click to the right of the heading to display the Shape menu from which you can choose a variety of shapes for the Volume light. See the following examples.

You can scale, rotate, or translate to resize or reshape the Volume light shape.

Linear

Linear lights are one dimensional line-like lights (similar to fluorescent tubes). Linear lights are initially two units long. The length of a linear light can be changed by using Xform Scale.

Note: When RayTracing, shadowing for linear light sources is accomplished through a combination of individual point sampling and adaptive light subdivision. Because of this sampling, linear light shadows are more expensive than point shadows. The increase in cost is proportional to the complexity of the scene and the length of the linear light.

Create defaults

Purpose

Sets the default lighting for a scene, automatically creating two lights. The lights that are created are normal, fully-functional lights.

How to use

Select Create defaults from the Lights cascading menu and two new lights (ambient and directional ) are automatically placed in the scene. Their orientation and position is pre-defined and their values are based on each light's default options.





aliasdocs@aw.sgi.com

Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.