Basic HTML version of Foils prepared
March 4 1998
Foil 137 DirectionalLight Node
From
VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS --
Spring Semester 98
.
by
Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox
(Definition and Example)
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 Nov 29 1998