234

Controlling color on coordinate-based geometry
Syntax: ElevationGrid

  • An ElevationGrid geometry node creates terrains
  • color - list of colors
  • colorPerVertex - control color binding
  • Always binds one color to each grid point or square, in order
  • Shape {
        appearance Appearance { . . . }
        geometry ElevationGrid {
            . . .
            height [ . . . ]
            color Color { . . . }
            colorPerVertex TRUE
        }
    }