Table of Contents Chapter Index Previous Slide Next Slide 181
Using face set coordinate index lists

Building shapes out of points, lines, and faces
Using face set coordinate index lists
  • To build a face shape
  • Make a list of coordinates, using their indexes
  • Use an IndexedFaceSet node to draw a face outlined by the coordinates in the list
  • List coordinate indexes in the coordIndex field of the IndexedFaceSet node