[example] [run]This node specifies a 2D transformation to be applied to texture coordinates.
{
exposedField SFVec2f center 0 0 # reference point for transformations
exposedField SFFloat rotation 0 # rotation about center
exposedField SFVec2f scale 1 1 # non-uniform scale about the center
exposedField SFVec2f translation 0 0 # translation
}
Usage :
Shape {
geometry ...... {
.............
}
appearance Appearance {
material Material { }
texture ImageTexture {
url "http://www.dca.fee.unicamp.br/~leopini/vrml/text.gif"
}
textureTrnasform TextureTransform {translate .5 .3}
}
}