187

Building shapes out of points, lines, and faces
Syntax: IndexedFaceSet

  • An IndexedFaceSet geometry node creates geometry out of faces
  • A flat face (polygon) is drawn using an outline specified by coordinate indexes
  • Shape {
        appearance Appearance { . . . }
        geometry IndexedFaceSet {
            coord Coordinate {
                point [  . . .  ]
            }
            coordIndex [ . . . ]
        }
    }