Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

:NEW

source files: [xc]lgt.[ch]

SYNTAX

(SEND CLASS-LIGHT :NEW
    [ :LOCATION '(1 2 3) ]
    [ :TARGET   '(4 5 6) ]
    [ :UP       '(0 9 0) ]
    [ { :RADIANS | :DEGREES } 0.1 ]
    [ :DIAMETER 100.0    ]
    [ :IS-LOCAL { NIL | T } ]
    [ :COLOR  '(0.0 0.6 0.8) ]
    [ :AMBIENT-COLOR '(0.1 0.2 0.2) ]
)

DESCRIPTION

Creates a new light.

The last three keyword parameters specify respectively whether the light should be treated as being at infinity or a finite distance, the color of the light itself, and the color of ambient light in the scene.

The remaining keyword parameters simply get passed to the MATRIX44 instance which positions the light.


Go to the first, previous, next, last section, table of contents.