Download User Manual Vol. 3 Rendering

Transcript
Section 5
"spot"
Class
Light Source
Synopsis
Light from a spot source constrained to a
cone.
Description
A light source emitting light from a single
point and constrained to a cone.
The position of the light is specified by means of argument
"location", and the direction of the axis of the cone points from
this position to the point specified by argument "to".
The intensity of the light (as a scalar quantity) and its color are
specified by means of the arguments "intensity" and "color"
respectively.
The argument "fall off" is provided which may be used to
indicate the way in which the intensity of light emanating from
the point varies with distance from the point. It can either be
constant, inverse, inverse square, unclamped inverse, or
unclamped inverse square. If fall off is set to constant, the light
intensity does not vary with distance from the source. If fall off
is set to inverse, the light intensity varies with the inverse of the
distance from the source. If fall off is set to inverse square, the
light intensity varies with the inverse squared distance from the
source.
The angle of the cone within which light is emitted from the
light source is specified in degrees by the value passed as
argument "cone angle" (a full angle), while the angular distance
over which the intensity diminishes is specified by argument
"cone delta angle" (a half angle).
160
solidThinking User Manual