SoTextureCoordinatePlane¶
-
InventorModule
¶ genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
This node creates texture coordinates for points on an object’s surface by projecting them onto a plane. The Direction S
and Direction T
fields define the plane. The S coordinate is computed as the distance from the object-space origin along the vector specified in the Direction S
field. The T coordinate is computed similarly, using the Direction T
field.
The length of the direction vector is also taken into account. For example, assume Direction S
is (0.5, 0, 0) and Direction T
is (0, 1, 0). The square defined by the (x, y, z) vertices: (-1, -1, 0) (1, -1, 0) (1, 1, 0) (-1, 1, 0) will be assigned the (s, t) texture coordinates: (-2, -1) (2, -1) (2, 1) (-2, 1).