TextureTransform shifts 2D texture coordinates for positioning, orienting and scaling image textures on geometry.
The TextureTransform node belongs to the Texturing component and requires at least level 1, its default container field is textureTransform. It is available since VRML 2.0 and from X3D version 3.0 or higher.
1 2 3 4 5 + X3DNode + X3DAppearanceChildNode + X3DTextureTransformNode + X3DSingleTextureTransformNode + TextureTransform
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
- TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator
Lateral/vertical shift in 2D (s,t) texture coordinates (opposite effect appears on geometry).
Single rotation angle of texture about center (opposite effect appears on geometry).
- Use a single radian angle value, not a 4-tuple Rotation.
Non-uniform planar scaling of texture about center (opposite effect appears on geometry).
center point in 2D (s,t) texture coordinates for rotation and scaling.
- Order of operations is translation, rotation about center, non-uniform scale about center.
- Insert Shape and Appearance nodes before adding TextureTransform.
- Texture mapping
- Resulting visible effects appear reversed because image changes occur before mapping to geometry.