247

Controlling shading on coordinate-based geometry
Syntax: IndexedFaceSet

  • An IndexedFaceSet geometry node creates geometry out of faces
  • normal - list of normals
  • normalIndex - selects normals from list
  • normalPerVertex - control normal binding
  • Shape {
        appearance Appearance { . . . }
        geometry IndexedFaceSet {
            coord Coordinate { . . . }
            coordIndex [ . . . ]
            normal Normal { . . . }
            normalIndex [ . . . ]
            normalPerVertex TRUE
        }
    }