SoTextureCoordinate2¶
-
InventorModule¶ genre InventorNodesAutomaticauthor Silicon Graphics Incpackage MeVisLab/Standarddefinition inventor.def
Purpose¶
The node SoTextureCoordinate2 defines a set of 2D coordinates for mapping textures to subsequent vertex-based shapes. It replaces the current texture coordinates in the rendering state for the shapes.
The current texture coordinate binding (see SoTextureCoordinateBinding) determines how texture coordinates map to the vertices of shapes. An alternative to using explicit texture coordinates is generating them using a function.
Texture coordinates range from 0 to 1 across the texture. The horizontal coordinate, referred to as S, is specified first, followed by the vertical coordinate, T.