DISTANTLIGHT (Command)

Creates a distant light.

Find

The following prompts are displayed.

Light Direction

Specifies the direction of the distant light with two points, a point to start from and a second point to go toward. The Vector option provides a method to specify the coordinates that represent the vector direction of the light. For example, the default value of the vector coordinates 0.0000,-0.0100,1.0000, points the light approximately in the positive Z-axis direction.

The prompts that follow depend on whether photometric units are being used, or whether standard (generic) lighting is used, which is controlled by the of the LIGHTINGUNITS system variable.

Note: When the LIGHTINGUNITS system variable is set to 1 or 2, the Attenuation option has no affect on the creation of the light. It is only maintained for scripting compatibility.

Name

Specifies the name of the light. You can use uppercase and lowercase letters, numbers, spaces, hyphens (-), and underscores (_) in the name. The maximum length is 256 characters.

Intensity/Intensity Factor

Sets the intensity or brightness of the light. The range is 0.00 to the maximum value that is supported by your system.

Status

Turns the light on and off. If lighting is not enabled in the drawing, this setting has no effect.

Photometry

The Photometry option is available when the LIGHTINGUNITS system variable is set to 1 or 2. Photometry is the measurement of the luminous intensities of visible light sources.

In photometry, luminous intensity is a measure of the perceived power emitted by a light source in a particular direction. Luminous flux is the perceived power per unit of solid angle. The total luminous flux is the perceived power emitted in all directions. Luminance is the total luminous flux incident on a surface, per unit area.

Intensity

Enter an intensity value in candelas, the perceived power in a luminous flux value, or illuminance value for the total luminous flux incident on a surface.

  • Candela (symbol: cd) is the SI unit of luminous intensity (perceived power emitted by a light source in a particular direction). Cd/Sr
  • Lux (symbol: lx) is the SI unit of illuminance. Lm/m^2
  • Foot-candle (symbol: fc) is the American unit of illuminance. Lm/ft^2

Enter f to specify the perceived power in a luminous flux value.

If you enter i, you can specify the intensity of the light based on an illuminance value.

The illuminance value can be specified in either lux or foot-candles. Enter d to specify a distance to use to calculate illuminance.

Color

Specify the color of the light based on a color name or a Kelvin temperature. Enter ? to display a list of color names.

Enter a text string using wild card characters to display a partial listing of color names, or an asterick (*) to display all the possible choices.

If you enter k, you can specify the color of the light based on a Kelvin temperature value.

Shadow

Makes the light cast shadows.

Off

Turns off the display and calculation of shadows for the light. Turning shadows off increases performance.

Sharp

Displays shadows with sharp edges. Use this option to increase performance.

Soft Mapped

Displays realistic shadows with soft edges.

Specifies the amount of memory that should be used to calculate the shadow map.

Specifies the softness to use to calculate the shadow map.

Color/Filter Color

Controls the color of the light.

True Color

Specifies a True Color. Enter in the format R,G,B (red, green, blue).

Index

Specifies an ACI (AutoCAD Color Index) color.

HSL

Specifies an HSL (hue, saturation, luminance) color.

Color Book

Specifies a color from a color book.