Package Vrml2Sourcebook.Chapter16Color
The Color node lists Red-Green-Blue (RGB) colors to use for rendering points in a geometric shape.
The Color node lists colors to use for the various parts of a geometric shape, providing the value of the color field. 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.
This X3D VRML2 Sourcebook Chapter 16 Color examples archive is online.
The X3D Java Scene Access Interface (x3djsail) package provides concrete classes for each X3D node and statement.
Online: X3D Java Scene Access Interface Library (X3DJSAIL) and X3DJSAIL Javadoc
- See Also:
-
ClassDescriptionA scatter plot with the points colored using colors from a Color node.A line plot with the polylines colored using colors from a Color node.A star burst of lines colored using colors from a Color node, select second viewpoint for animation.A line plot with the polylines colored using colors from a ColorNode.A book with its faces individually colored using colors from a ColorNode.A book with its faces individually colored using colors from a Color node.A log and fire using faces colored vertex-by-vertex with colors from a ColorNode.A log and fire using faces colored vertex-by-vertex with colors from a Color node.A checkerboard built using elevation-grid squares and colored using colors from a Color node.A mountain built using ElevationGrid points and colored vertex-by-vertex using colors from a Color node.