Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

X3D Example Archives: VRML 2.0 Sourcebook, Chapter 10 - Materials

Figure 10.09 Three Blinking Shapes

Appearance and Material nodes control a shape's shading color (diffuseColor), glow color (emissiveColor), transparency, shininess, and ambient intensity. Colors specify a mixture of red, green, and blue (RGB) light with component values between 0.0 (none) and 1.0 (lots). ColorInterpolator can animate color values, and ScalarInterpolator can animate transparency values.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

X3D Scenes Descriptions
Figure 10.04 Bright Red Sphere Bright red sphere, showing use of Appearance and Material.
Figure 10.05 Multi Colored Space Station A simple, multicolored space station. Also see Figure03.10SpaceStation.x3d, Figure10.06PulsatingSpaceStation.x3d, Figure10.10SemiTransparentSpaceStation.x3d and Figure10.11AnimatingTransparencySpaceStation.x3d
Figure 10.06 Pulsating Space Station A multicolored space station where color of the center sphere animates from red, to green, to blue, and back to red. Also see Figure03.10SpaceStation.x3d and Figure010.05MultiColoredSpaceStation.x3d
Figure 10.07 Light Bulb A lightbulb that varies in brightness as the pointing device is held over the socket.
Figure 10.08 Blinking Sphere A blinking sphere, controlled using a ColorInterpolator.
Figure 10.09 Three Blinking Shapes Three blinking shapes, each controlled using independent ColorInterpolator nodes.
Figure 10.10 Semi Transparent Space Station A simple space station with a half-transparent central sphere. Also see Figure03.10SpaceStation.x3d, Figure10.05MultiColoredSpaceStation.x3d, Figure10.06PulsatingSpaceStation.x3d, Figure10.10SemiTransparentSpaceStation.x3d and Figure10.11AnimatingTransparencySpaceStation.x3d
Figure 10.11 Animating Transparency Space Station A simple space station with a central sphere whose transparency is animated using a ScalarInterpolator. Also see Figure03.10SpaceStation.x3d, Figure10.05MultiColoredSpaceStation.x3d, Figure10.06PulsatingSpaceStation.x3d and Figure10.10SemiTransparentSpaceStation.x3d

Online at http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter10-Materials

Master source code archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter10-Materials

Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

Also available: current and archived nightly builds and distributions of these examples, all published under an Open-Source License.

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