Light Parameters

Light Types

When you double-click a light icon in the Multi-lister, an associated Control window for that light is displayed. In the Control window, click to the right of the Type heading to display a menu that contains a list of available lights.

The default settings that were set in the light's option box (for example, Objects Lights Ambient-) are displayed in the light's associated Control window. These default parameters can be changed in the option box for each light. See the Lights Tool Palette for information on lights and their associated option boxes.

Common Decay Light Parameters

All light types, except the VOLUME light type, share the same decay parameters.

Decay controls how quickly the light fades with distance. It can be set to 0, 1, 2 or 3.

0 no decay - light reaches everything
1 decrease light intensity in direct (linear) proportion to distance
2 decrease light intensity inversely proportional to square of the distance. This is how light decays in real-life.
3 decrease light inversely proportional to cube of the distance. This results in light decaying faster than in real-life. The initial default is 1. Decay has no effect at distances less than 1 unit.

AMBIENT Light Parameters

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

The only parameter for Ambient lights is Ambient Shade which controls how much of the illumination appears to come from the position of the light. A value of 1.0 means all illumination comes from the position of the light.

AREA Light Parameters

The only parameter for Area lights is Decay.

Area lights are two-dimensional rectangular light sources. They represent a large even rectangle of light. They are particularly useful when you want to create rectangular reflections off surfaces (for example, windows). Area lights are initially two units long and one unit wide.

Tips:

SPOT Light Parameters

Spotlights cast light in one direction only, emanating from a point in an expanding cone.

When you select the SPOT light Type, the Spot Parameters and Spot View parameters and their associated windows become available. Click the black arrow to the left of the parameter heading to display the specific parameter window.

Dropoff

The Dropoff value controls the rate at which light intensity decreases from the center to the edge of the spotlight beam. The valid slider range is from 0 to ·. The range usually used is from 0 to 50. Values of 1.0 and less give practically identical results, that is no discernible intensity decrease along the radius of the beam. The default value is 0.0, which means there is no dropoff.

Tip: See also Penumbra, which is an independent effect, that can appear to have superficially similar results, but is more intuitive to control.

Spread

This value represents the measure in degrees of the angle from edge to edge of the spotlight's beam. The valid slider range is from 2° to 179°, the default is 90°.

Tip: Resolution problems may occur when the spread is set to greater than 170°; some small objects will not produce shadows with that large a light spread.

Penumbra

The Penumbra is used to simulate the fall off of the spotlight's intensity towards the edge of its cone of illumination. It is defined in degrees relative to the spotlight's spread.

Show Spread

Click to toggle Show Spread ON or OFF. A check mark indicates that it is ON. This toggle is used to determine whether you want to display a circle representing the spread of the spotlight in the wireframe view in the Spot View display window.

Show Penumbra

Click to toggle Show Penumbra ON or OFF. A check mark indicates that it is ON.This toggled is used to determine whether you want to display a circle representing the penumbra of the spotlight in the wireframe view in the Spot View window.

Up

Click to toggle Up ON or OFF. A check mark indicates that it is ON. This toggle is used to determine whether you want to display the up vector of the spotlight in the wireframe view in the Spot View window.

Using the Spot View Window

The Spot View window lets you interactively position a spotlight by showing a perspective view from the spotlight.

Tip: Quick rendering is useful to determine whether the position of the light is correct, or if the attributes of the spotlight suit your needs. If you change spotlight attributes or position when quick render is on, the objects in the Spot View window will render automatically after you have performed the changes.

Click the black arrow to the left of the Spot View heading to open the Spot View window. If Quick Render is toggled ON, a quick render of your scene is displayed.

No matter which window you are currently working in, the Spot View window always displays a perspective view from the spotlight position. You can change the spotlight attributes in the Spot Parameters window and these changes will be shown either in the Spot View wireframe or Quick Render view.

The Track, Azimuth/Inclination and Yaw/Pitch View tools actually move the spotlight's position and/or orientation. The Dolly tool does not alter the spotlight's position.

Tip: Spotlights with spreads greater than 170 degrees are difficult to view with the spotlight window.

Shadow Casting Parameters

Resolution

This slider is used to define the size of shadow depth maps used in raycasting. Large Resolution values provide sharper edged shadows but slows down rendering and uses more memory. Very soft and smooth shadows are possible with a Resolution setting around 50. Low Resolution values have the added advantage of rendering faster and using little memory.

The Resolution is the primary factor that determines the softness of shadows, but the spotlight Spread and Edge Quality also affect the general level of blur. The shadow map is defined relative to the cone of the spotlight - a tightly focused spread creates sharper shadows. A spread of 90 requires a Resolution 2 times that of a spread of 45 in order to match.

Edge Quality

This slider is used to set the blur filter size for shadow depth maps.

Tips:

Fog samples

This value provides control over the quality of volumetric fog shadows if present in the image. The higher the value, the more samples of the shadow map are taken, but the rendering speed decreases.

Tip: To catch the shadow volumes of small objects, this value should be increased.

Use Depth Map

If set to ON, the renderer creates a depth map file for the spot light the first time it is rendered. Subsequent renders reuse the depth map and avoids the calculation time of the shadow depth map. The depth file created by this option has the same name as the spot light.

Note: This optimization is only useful when doing shading tests with un-changing geometry or animations during which no objects move within the spot light's field of view.

Self Shadow Correction Parameters

Min Depth

The Min Depth value is used to correct self shadowing problems in raycast shadows. The Min Depth is the world space distance that a point is moved towards a spotlight before shadowing is calculated.

If this value is 0, than an object will shadow itself by 50% (if it casts shadows) when the light is at an inclined angle to the surface. A relatively small Min Depth value can bring the surface out of its own shadow, especially when combined with the Blend Offset value.

Also, if the surface does not have to cast shadows but only to receive them, turn shadow casting off on the object (then a Min Depth of 0 is fine). The most typical example of this is a groundplane. If Min Depth is too high, shadows will not be cast from very close objects.

Blend Offset

This value determines the offset depth of the blended shadow samples, but not the depth of the center sample. if set the 0, the sample region is a plane tangent to the light direction vector. As the value increases, the sample region becomes a cone with the outer edges towards the light.

Note: This is somewhat similar to the now obsolete bias max, however it cleans up self shadows without sacrificing the tightness of a shadow relative to a very close object.

LINEAR Light Parameters

Linear lights are one-dimensional lines of light of variable length (like fluorescent tubes). Linear lights are initially two units long. The length of a linear light can be changed using Xform Tool Palette Scale. The only parameter for Linear lights is Decay.

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 costly than point shadows. The increase in cost is proportional to the complexity of the scene and the length of the Linear light.

POINT Light Parameters

Point lights are like incandescent light bulbs - they throw light evenly in all directions. The only parameter for Point lights is Decay.

DIRECTIONAL Light Parameters

Directional lights have color, intensity and direction, but no obvious source in the scene. For most purposes, the sun can be considered a directional light. Directional lights do not decay with distance, and have no type-specific parameter.

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

VOLUME Light Parameters

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.

Volume lights have many parameters which define the shape of the volume and the direction of the light/force in the volume.

Shape

The items in this menu define the shape of the Volume light in space. The choices are BOX, SPHERE, CYLINDER,CONE and TORUS. The shapes of the Volume light can be modified by applying transformations to the dag node(s) above the light.

Specular

If set to ON, the light contributes to the specular component. It is useful to turn this OFF when using a negative Volume light to remove light.

Decay

Decay controls how quickly the light fades with distance. The valid range is -1 to 1.

0 no decay - light reaches everything within the volume, nothing outside.
>0 light intensity decreases from the center towards the edges of the volume. For example, 0.5 means a linear dropoff from the middle to the edges. With a value close to 1, intensity drops off very fast from the middle. With a value close to 0, intensity drops off slowly in the middle and fast near the edges.

<0 Light intensity decreases from the edges towards the middle. Shape Decay

BOX and SPHERE all directions from the centre.

CYLINDER and CONE in the direction of the principal axis.

TORUS perpendicular to the principal axis.

Note: The Volume light Decay parameter differs slightly from the other light types.

Decay Start

This value defines how far out from the centre of the volume the decay starts.

Dropoff

This value controls the rate at which light intensity decreases from the center to the edge of the light. It only applies to CONE and CYLINDER Volume lights, and the dropoff is away from the principal axis of the light.

The valid range is from 0 to ·. The range usually used is from 0 to 50. Values of 1.0 and less give practically identical results, that is, no discernible intensity decrease along the radius of the beam. The default value is 0.0, which means there is no dropoff. This is very similar to the way spotlights work.

Dropoff Start

This value defines how far out from the centre axis of the volume the Dropoff Start starts.

Torus Radius

This is the ratio of the minor radius to the major radius. The default value of 0.5 gives a typical bagel, where the "hole" has been squashed down to a single point. This value is only applicable to a TORUS volume light.

Cone End Radius

This value defines the radius of the end of the cone. A value of 0 makes the volume light a true cone, whereas a value of 1 effectively reduces the shape of the light to a cylinder. This value may be negative, which will have the effect of reversing the direction of the cone. This value is only applicable to the CONE volume light.

Arc

This value defines the portion of the swept volume. A value of 360 degrees represents the entire volume. This value is only applicable to the CONE, SPHERE, TORUS and CYLINDER volume lights.

Directionality

This value defines how much the direction of the Volume light is taken into account in the lighting calculation. A value of 0 acts like an ambient light; a value of 1 acts like a directional light.

Direction Vectors Parameters

Concentric

This value defines how much the in-out direction contributes to the light direction.

Directional

This value defines how much the primary axis direction contributes to the light direction.

Radial

This value defines how much the spin direction contributes to the field value.

Turbulence (noise) Parameters

Turbulence is mostly used when the Volume light is used to define a wind field, but it also defines the light direction and can be used to get flickering sorts of light effects. The turbulence is defined as if it were inside a "box", and the box is placed appropriately when you need to evaluate the turbulence at a point.

Intensity

A turbulence Intensity value of 0 means no turbulence, which means no Turbulence Table will be calculated.

Spread

This value represents the space scale. Scale the turbulence box so that the same amount of turbulence covers a larger volume.

Persistence

This value represents the time scale. Stretch out the turbulence so that it changes more slowly.

Animated

The turbulence may be static, or it may vary over time.

Static Turbulence

With static turbulence, you get dappled lighting, but it doesn't change. In a static turbulent wind field, the eddies are always in the same place: a stream of particles blowing through a static field would always follow the same path.

Animated Turbulence

With animated turbulence, you get flickering light. In an animated field, the path itself would swirl and change.

Directional

In the lighting calculation, the difference between the light direction and the turbulence is used, to avoid accidentally illuminating the backs of objects.

Turbulence Table Parameters

Turbulence is defined by its Fourier spectrum, and then a turbulence table is created by applying the inverse Fourier transforms. The turbulence table can get very large - a 16 space res x 16 time res table takes up slightly more than 4M, a 32x32 table takes up about 36M.

If the table parameters are the same for different lights, the lights can share a table. If there are Volume lights with different Turbulence Table parameters, a separate table will be created for each light.

The following describes the table parameters.

Space Resolution

This defines how large the table is in X, Y, Z. Turbulence patterns match at the edges of the turbulence box, so that this pattern is repeated seamlessly throughout the range of the Volume light.

Time Resolution

For animated turbulence, this defines the resolution in time. (for instance, this many 3-D tables are created).

Roughness

This value defines the high frequency cutoff for the spatial portion of the Fourier spectrum. It is like a low-pass filter.

Variability

This value defines the high frequency cutoff for the time portion of the Fourier spectrum.

Granularity

This value defines the low frequency cutoff. It is like a high pass filter. It allows for grainy patterns of turbulence.





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.