Basic HTML version of Foils prepared April 6 1997

Foil 133 DirectionalLight Node

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


1 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
  • }
2 direction field defines a 3-D vector which indicates the direction for the light rays.

in Table To:


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 Mar 15 1998