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

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