See: Description
Class | Description |
---|---|
Figure20_04HeadlightSpheres |
A sphere world illuminated by the headlight.
|
Figure20_05FlatMesh |
A flat mesh created using an ElevationGrid node.
|
Figure20_06aPointLightSpheres |
A sphere world illuminated by a point light in the center.
|
Figure20_06bPointLightSpheresIntensity |
A sphere world illuminated by a point light with its ambient intensity set high.
|
Figure20_07PointLightSpheresAttenuation |
A sphere world illuminated by a point light with attenuation control.
|
Figure20_08PointLightSpheresSmallRadius |
A sphere world illuminated by a point light with a small radius.
|
Figure20_09GlowingOrbArchwaysExhibit |
A glowing sphere within a gothic building.
|
Figure20_10BlinkingRedLightbulb |
A blinking lightbulb showing multiple lighting effects.
|
Figure20_11aDirectionalLightAimingRightThroughSpheres |
A sphere world illuminated by a DirectionalLight aiming to the right.
|
Figure20_11bDirectionalLightAimingUpperRightThroughSpheres |
A sphere world illuminated by a DirectionalLight aiming up and to the right.
|
Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres |
A sphere world illuminated by a DirectionalLight aiming up and to the right.
|
Figure20_13aDirectionalLightSunrise |
A DirectionalLight used to simulate the sun at sunrise.
|
Figure20_13bDirectionalLightNoon |
A DirectionalLight used to simulate the sun at noon.
|
Figure20_13cDirectionalLightSunset |
A DirectionalLight used to simulate the sun at sunset.
|
Figure20_14DirectionalLightSunAnimated |
A DirectionalLight simulates the sun from sunrise through sunset, animated using multiple interpolators.
|
Figure20_15aSpotLightSpheres |
A sphere world illuminated by a SpotLight aiming to the right.
|
Figure20_15bWideAngleSpotLightSpheres |
A sphere world illuminated by a wide-angle SpotLight aiming to the right.
|
Figure20_16SpotLightBeamWidthComparison |
Three meshes illuminated by separate spotlights, with outer cone set to 45 degrees and inner cones set to 45, 22 1/2, and 1/2 degrees respectively.
|
Figure20_17aSimpleWorldNoShadows |
A simple world without fake shadows.
|
Figure20_17bSimpleWorldFakeShadows |
A simple world with fake shadows.
|
Lights provide virtual illumination that allows objects to be seen.
By default, you have one light in the scene, attached to your head. For more realism, you can add multiple lights: suns, light bulbs, candles, flashlights, spotlights, firelight. Lights can be positioned, oriented, and colored. Lights do not cast shadows. There are three types of lights: PointLight, DirectionalLight, and SpotLight. All lights have an on/off, intensity, ambient effect, and color fields. PointLight and SpotLight nodes have a location, radius, and attenuation. DirectionalLight and SpotLight nodes have a direction. These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes. |
Copyright ©2005-2019 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.