TextureCoordinate specifies 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to NURBS surfaces).
The TextureCoordinate node belongs to the Texturing component and requires at least level 1, its default container field is texCoord. It is available since VRML 2.0 and from X3D version 3.0 or higher.
1 2 3 4 5 + X3DNode + X3DGeometricPropertyNode + X3DTextureCoordinateNode + X3DSingleTextureCoordinateNode + TextureCoordinate
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
Pairs of 2D (s,t) texture coordinates, either in range [0,1] or higher if repeating.
- Add Shape and then polygonal/planar geometry before adding TextureCoordinate.
- Texture mapping
- X3D Texturing component Figure 18.1, Texture map coordinate system