MultiTextureCoordinate
Overview
MultiTextureCoordinate contains multiple TextureCoordinate or TextureCoordinateGenerator nodes, for use by a parent polygonal geometry node such as IndexedFaceSet or a Triangle* node. Each of the contained texture coordinate nodes correspond to the multiple texture nodes contained in a sibling Appearance/MultiTexture node.
The MultiTextureCoordinate node belongs to the Texturing component and requires at least level 2, its default container field is texCoord. It is available from X3D version 3.0 or higher.
Hierarchy
1
2
3
4
+ X3DNode
+ X3DGeometricPropertyNode
+ X3DTextureCoordinateNode
+ MultiTextureCoordinate
Fields
SFNode [in, out] metadata NULL [X3DMetadataObject]
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
Hint
MFNode [in, out] texCoord [ ] [X3DTextureCoordinateNode]
Zero or more contained TextureCoordinate or TextureCoordinateGenerator nodes that specify texture coordinates for the different texture channels, used for texture mapping onto corresponding geometry.
Warning
- MultiTextureCoordinate may not contain another MultiTextureCoordinate node.
Advice
Hints
- Add Shape and then polygonal/planar geometry before adding MultiTextureCoordinate.
- Texture mapping
- Multitexturing is accomplished using MultiTexture, MultiTextureCoordinate and MultiTextureTransform nodes.
- X3D Texturing component Figure 18.2 Lightmap example
- X3D Texturing component Table 18.2: Comparison of single texture and multitexture attributes
Warnings
- The number of textures to be blended may have a significant impact on performance, depending on available graphics hardware capabilities.
- MultiTextureCoordinate may not contain another MultiTextureCoordinate node.