From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. byZeynep Ozdemir(Geoffrey C. Fox)
A DirectionalLight is a light aimed at the world from infinitely far away so that all of its light rays are parallel and point in the same direction
DirectionalLight {
ambientIntensity 0 # exposedField SFFloat
color 1 1 1 # exposedField SFColor
direction 0 0 -1 # exposedField SFVec3f
intensity 1 # exposedField SFFloat
on TRUE # exposedField SFBool
}
direction field defines a 3-D vector which indicates the direction for the light rays.
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.