TextureTransform3D applies a 3D transformation to texture coordinates.
The TextureTransform3D node belongs to the Texturing3D component and requires at least level 1, its default container field is textureTransform. It is available from X3D version 3.1 or higher.
1 2 3 4 5 + X3DNode + X3DAppearanceChildNode + X3DTextureTransformNode + X3DSingleTextureTransformNode + TextureTransform3D
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).
rotation angle of texture about center (opposite effect appears on geometry).
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 TextureTransform3D.
- Texture mapping
- Resulting visible effects appear reversed because image changes occur before mapping to geometry.