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

X3D Example Archives: VRML 2 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.

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.

  8 X3D Models       X3D Model Descriptions
Figure10_04BrightRedSphere Figure 10 04 Bright Red Sphere Bright red sphere, showing use of Appearance and Material.
Figure10_05MultiColoredSpaceStation 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
Figure10_06PulsatingSpaceStation 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 by utilizing ColorInterpolator outputs. Also see Figure03_10SpaceStation.x3d and Figure010.05MultiColoredSpaceStation.x3d
Figure10_07LightBulb Figure 10 07 Light Bulb A lightbulb that varies in brightness as the pointing device is held over the socket.
Figure10_08BlinkingSphere Figure 10 08 Blinking Sphere A blinking sphere, controlled using a ColorInterpolator.
Figure10_09ThreeBlinkingShapes Figure 10 09 Three Blinking Shapes Three blinking shapes, each controlled using independent ColorInterpolator nodes.
Figure10_10SemiTransparentSpaceStation 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
Figure10_11AnimatingTransparencySpaceStation 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 https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter10Materials

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/Vrml2Sourcebook/Chapter10Materials

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