Package Vrml2Sourcebook.Chapter16Color


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: