Basic HTML version of Foils prepared March 4 1998

Foil 138 SpotLight Node - I

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

VRML2.0 SpotLight Node
1 A SpotLight is a light placed at a location in the VRML world, centered in a specific direction, and constrained so that its rays emanate within a light cone. Shapes that fall in within cone of light are illuminated by the spotlight, and others are not.
  • SpotLight {
  • ambientIntensity 0 # exposedField SFFloat
  • attenuation 1 0 0 # exposedField SFVec3f
  • beamWidth 1.570796 # exposedField SFFloat
  • color 1 1 1 # exposedField SFColor
  • cutOffAngle 0.785398 # exposedField SFFloat
  • direction 0 0 -1 # exposedField SFVec3f
  • intensity 1 # exposedField SFFloat
  • location 0 0 0 # exposedField SFVec3f
  • on TRUE # exposedField SFBool
  • radius 100 # exposedField SFFloat
  • }

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 Apr 5 1998