SoTextureCoordinatePlane¶
-
InventorModule¶ genre InventorNodesAutomaticauthor Silicon Graphics Incpackage MeVisLab/Standarddefinition inventor.def
Purpose¶
The node SoTextureCoordinatePlane 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 :field:d`irectionS` field. The T coordinate is computed similarly, using the Direction T field.
The length of the direction vector is also considered. 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), and (-1, 1, 0) will be assigned the (s, t) texture coordinates: (-2, -1), (2, -1), (2, 1), and (-2, 1).