Table of Contents Chapter Index Previous Slide Next Slide 121
IndexedFaceSet Using a Color Node

Binding Colors to Coordinate-based Geometry

IndexedFaceSet Using a Color Node
IndexedFaceSet {
    coord Coordinate { . . . }
    coordIndex [ . . . ]
    color Color {
        color [ 1.0 0.0 0.0, . . . ]
    }
    colorIndex [ 3, 0, 1, . . . ]
    colorPerVertex TRUE
}