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

X3D Example Archives: VRML 2 Sourcebook, Chapter 16 Color

Figure 16.7 Vertex Colored Elevation Grid Mountain

The Color node lists Red-Green-Blue (RGB) colors to use for rendering points in a geometric shape.

Color indexes select colors to use at each vertex. Colors override any accompanying Material node. The colorPerVertex field selects color per line/face/grid square or else color per coordinate.

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

  10 X3D Scenes       Scene Descriptions
Figure16_1ColoredPointSetScatterPlot Figure 16 1 Colored Point Set Scatter Plot A scatter plot with the points colored using colors from a Color node.
Figure16_2ColoredLinesPlot Figure 16 2 Colored Lines Plot A line plot with the polylines colored using colors from a Color node.
Figure16_3ColoredLinesStarburst Figure 16 3 Colored Lines Starburst A star burst of lines colored using colors from a Color node, select second viewpoint for animation.
Figure16_3ColoredLinesStarburstWithAxes Figure 16 3 Colored Lines Starburst With Axes A line plot with the polylines colored using colors from a ColorNode.
Figure16_4ColoredBookFaces Figure 16 4 Colored Book Faces A book with its faces individually colored using colors from a ColorNode.
Figure16_4ColoredBookFacesWithAxes Figure 16 4 Colored Book Faces With Axes A book with its faces individually colored using colors from a Color node.
Figure16_5LogFireColoredFaces Figure 16 5 Log Fire Colored Faces A log and fire using faces colored vertex-by-vertex with colors from a ColorNode.
Figure16_5LogFireColoredFacesWithAxes Figure 16 5 Log Fire Colored Faces With Axes A log and fire using faces colored vertex-by-vertex with colors from a Color node.
Figure16_6ColoredElevationGridCheckerboard Figure 16 6 Colored Elevation Grid Checkerboard A checkerboard built using elevation-grid squares and colored using colors from a Color node.
Figure16_7VertexColoredElevationGridMountain Figure 16 7 Vertex Colored Elevation Grid Mountain A mountain built using ElevationGrid points and colored vertex-by-vertex using colors from a Color node. Compare Figure14_2ElevationGridMountain.x3d, Figure16_7VertexColoredElevationGridMountain.x3d and Figure17_08bTexturedElevationGridMountain.x3d

Online at http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter16Color

Validate XHTML 1.1

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

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

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