Table of Contents Chapter Index Previous Slide Next Slide 415
Syntax: IndexedFaceSet

Controlling shading
Syntax: IndexedFaceSet
  • An IndexedFaceSet geometry node creates geometry out of faces
  • Normal vectors - list of normals
  • Normal indexes - selects normals from list (just like selecting coordinates)
  • Normal binding - control normal binding
  • IndexedFaceSet {
        coord Coordinate { . . . }
        coordIndex [ . . . ]
        normal Normal { . . . }
        normalIndex [ . . . ]
        normalPerVertex TRUE
    }