288

Controlling how textures are mapped
Syntax: TextureTransform

  • A TextureTransform node transforms texture coordinates
  • translation - position
  • rotation - orientation
  • scale - size
  • Shape {
        appearance Appearance {
            material Material { . . . }
            texture ImageTexture { . . . }
            textureTransform TextureTransform {
                translation 0.0 0.0
                rotation    0.0
                scale       1.0 1.0
            }
        }
    }