Table of contents Chapter index Previous slide Next slide 186
Syntax: IndexedFaceSet

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 [ . . . ]
    
        }
    
    }