Universal Dataset Number 160
by
zopeown
—
last modified
2007-05-02 06:51
Name: Light Source
Status: Current
Owner: General
Revision Date: 15-JAN-1986
-----------------------------------------------------------------------
Record 1: FORMAT(I10,20A1)
Field 1 -- label number
Field 2 -- name
Record 2: FORMAT(5I10)
Field 1 -- Viewport mask
Field 2 -- Light color index
Field 3 -- Location method
= 0 - CENTER OF PROJECTION
= 1 - GLOBAL WORLD POSITION
= 2 - SCREEN POSITION
= 3 - WORLD SPACE INFINITY
= 4 - SCREEN INFINITY
Field 4 -- Aim method
= 0 - TARGET
= 1 - GLOBAL POSITION
= 2 - SCREEN POSITION
= 3 - GLOBAL VECTOR
= 4 - SCREEN VECTOR
Field 5 -- Focus / Flap option
= 0 - Omni-directional light, no flap
or focus
= 1 - Focus with no flap
= 2 - Flap with no focus
= 3 - Light is attenuated by focus and
blocked by the flap.
Record 3: FORMAT(4E13.5)
Field 1-3 -- Light position or direction vector
Field 4-6 -- Light aim vector
Field 7 -- Intensity
Field 8 -- Focus cosine
0.0 <= FOCUS <= 0.9999
Field 9 -- Flap cosine
0.0 <= FLAP <= 0.9999
Field 10 -- Power definition distance
-----------------------------------------------------------------