285

Controlling how textures are mapped
Syntax: IndexedFaceSet

  • An IndexedFaceSet geometry node creates geometry out of faces
  • texCoord and texCoordIndex - specify texture pieces
  • Shape {
        appearance Appearance { . . . }
        geometry IndexedFaceSet {
            coord Coordinate { . . . }
            coordIndex [ . . . ]
            texCoord TextureCoordinate { . . . }
            texCoordIndex [ . . . ]
        }
    }