HELP! * GREY=local LOCAL HTML version of Foils prepared 7 April 1997

Foil 52 VRML1.0 DirectionalLight Node

From Overview of VRML 1.0 Language with Examples CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96 and 97. by Geoffrey C. Fox, Alvin Leung, Meryem Ispirli * See also color IMAGE

This node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector.
A light node defines an illumination source that may affect subsequent shapes in the scene graph, depending on the current lighting style.
Light sources are affected by the current transformation.
A light node under a separator does not affect any objects outside that separator.
FILE FORMAT/DEFAULTS
DirectionalLight {
    • on TRUE # SFBool
    • intensity 1 # SFFloat
    • color 1 1 1 # SFColor
    • direction 0 0 -1 # SFVec3f
}
VRML2.0 adds ambientintensity field



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun May 25 1997