Table of Contents Previous Directory Summary Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Summary X3D Resources

X3D Example Archives: X3D4WA, X3D for Web Authors, Chapter 11 Lighting Environmental Effects

DirectionalLight Diagram    

Light nodes make the appearance of geometry visible and viewable in a scene.

Lights illuminate geometry in a scene relative to the user's view. 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 supporting Chapter 11 slideset and course videos (NPS, YouTube) for X3D for Web Authors are available online via X3dGraphics.com.

  15 X3D Models       X3D Model Descriptions
BackgroundColorsOnly Background Colors Only Added a Background node to the KelpForest world.
BackgroundImagesOnly Background Images Only Simple Background node with images only.
BackgroundKelpForestMain Background Kelp Forest Main Added a Background node to the KelpForest world.
BackgroundSelector Background Selector Select one of four Background nodes to show a time-of-day effect.
BackgroundSequencer Background Sequencer Cycle through four Background nodes to show a time-of-day effect.
BackgroundTimeOfDay Background Time Of Day Interpolate between Background color arrays to show a gradually changing time-of-day effect.
DirectionalLightExample Directional Light Example An example of the DirectionalLight node showing no shadows on the lit geometry.
FogKelpForestMain Fog Kelp Forest Main Added fog to the KelpForest world to simulate the typical weather pattern in June in Monterey, CA.
PointLightColor Point Light Color Example of a PointLight node showing the effect of distance on lighting of geometry.
PointLightExample Point Light Example Two examples of scoped PointLight nodes showing the effects of distance on lit geometry. Faceted IndexedFaceSet is on the left, simple Box on the right.
SpotLightColor Spot Light Color Example of SpotLight showing effect of varying light colors on appearance
SpotLightExample Spot Light Example Example SpotLight node showing effects of beamWidth and cutOffAngle
SpotLightVisualization Spot Light Visualization Create outline geometry to show SpotLight coverage. Author TODO: use the X3D-Edit SpotLight editor to modify and re-visualize the first SpotLight.
Texture Background Example Simple TextureBackground node with images only.
TextureBackgroundKelpForestMain Texture Background Kelp Forest Main Added an image panorama with the Background node to the Kelp Forest world.

Online at https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects

Validate XHTML 1.1

Master source-code model archive is under subversion control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.

Table of Contents Previous Directory Summary Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Summary X3D Resources