|
|
|
|
|
|
|
Lights illuminate geometry in a scene relative to the user's view. Lighting nodes include DirectionalLight, PointLight, SpotLight, and the active NavigationInfo headlight. Environmental effects include Background, TextureBackground, Fog and LocalFog. Lights, NavigationInfo, background nodes and fog nodes are each bound nodes, meaning that only one of each can be active at a time. The supporting Chapter 11 slideset and course videos are available online via X3dGraphics.com. |
| X3D Scenes | Descriptions |
|---|---|
| Background Colors Only | Added a Background node to the KelpForest world. |
| Background Images Only | Simple Background node with images only. |
| Background Kelp Forest Main | Added a Background node to the KelpForest world. |
| Background Selector | Select one of four Background nodes to show a time-of-day effect. |
| Background Sequencer | Select one of four Background nodes to show a time-of-day effect. |
| Background Time Of Day | Interpolate between Background color arrays to show a gradually changing time-of-day effect. |
| Directional Light | An example of the DirectionalLight node showing no shadows on the lit geometry. |
| Fog - Kelp Forest Main | Added fog to the KelpForest world to simulate the typical weather pattern in June in Monterey, CA. |
| Point Light | 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. |
| Point Light Color | Example of a PointLight node showing the effect of distance on lighting of geometry. |
| Spot Light | Example SpotLight node showing effects of beamWidth and cutOffAngle |
| Spot Light Color | Example of SpotLight showing effect of varying light colors on appearance |
| 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 - Kelp Forest Main | Added an image panorama with the Background node to the Kelp Forest world. |
| Texture Background | Simple TextureBackground node with images only. |
http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter11-LightingEnvironmentalEffects
|
|
|
|
|
|
Current and archived nightly builds and distributions of these examples are also available.
The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.