SoTextureCoordinatePlane¶
- InventorModule¶
genre
author
package
definition
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).
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Visible Fields¶
Direction S¶
- name: directionS, type: Vector3, default: 1 0 0¶
Sets the projection directions of projection for S coordinates.
Direction T¶
- name: directionT, type: Vector3, default: 0 1 0¶
Sets the projection directions of projection for T coordinates.