Home TextureCoordinate4D
X_ite
Cancel

TextureCoordinate4D

Overview

TextureCoordinate4D specifies a set of 4D (homogeneous 3D) texture coordinates used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map 3D textures to vertices.

The TextureCoordinate4D node belongs to the Texturing3D component and requires at least level 1, its default container field is texCoord. It is available from X3D version 3.1 or higher.

Hierarchy

1
2
3
4
5
+ X3DNode
  + X3DGeometricPropertyNode
    + X3DTextureCoordinateNode
      + X3DSingleTextureCoordinateNode
        + TextureCoordinate4D

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

SFString [in, out] mapping “”

The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.

Hint

MFVec4f [in, out] point [ ] (-∞,∞)

4-tuple values of 4D texture coordinates, either in range [0,1] or higher if repeating.

Advice

Hint

  • Add Shape and then polygonal/planar geometry before adding texture coordinates.

Warning

  • Requires X3D profile='Full' or else include <component name='Texturing3D' level='1'/>

See Also

This post is licensed under CC BY 4.0 by the author.