Package X3dForWebAuthors.Chapter11LightingEnvironmentalEffects
Chapter 11 Lighting and Environmental Effects: Light nodes make the appearance of geometry visible and viewable in a scene. Lighting nodes include DirectionalLight, PointLight, SpotLight, and the active NavigationInfo headlight (which points along the user's viewing direction).
Environmental effects include Background, TextureBackground, Fog and LocalFog. Each set of light nodes, NavigationInfo nodes, background nodes and fog nodes are bound on a separate binding stack, meaning that only one of each can be active at a time.
The X3D Java Scene Access Interface (x3djsail) package provides concrete classes for each X3D node and statement.
Online: X3D Java Scene Access Interface Library (X3DJSAIL) and X3DJSAIL Javadoc
- See Also:
-
ClassDescriptionAdded a Background node to the KelpForest world.Simple Background node with images only.Added a Background node to the KelpForest world.Select one of four Background nodes to show a time-of-day effect.Cycle through four Background nodes to show a time-of-day effect.Interpolate between Background color arrays to show a gradually changing time-of-day effect.An example of the DirectionalLight node showing no shadows on the lit geometry.Added fog to the KelpForest world to simulate the typical weather pattern in June in Monterey, CA.Example of a PointLight node showing the effect of distance on lighting of geometry.Two examples of scoped PointLight nodes showing the effects of distance on lit geometry.Example of SpotLight showing effect of varying light colors on appearance.Example SpotLight node showing effects of beamWidth and cutOffAngle.Create outline geometry to show SpotLight coverage.Simple TextureBackground node with images only.Added an image panorama with the Background node to the Kelp Forest world.