Houdini 20.5 Nodes VOP nodes

Transform From Surface VOP node

Constructs a KineFX transform matrix from a position on a geometry’s surface.

On this page
Since 18.5

This operator creates a transform matrix by sampling a position on a surface using either parameters or the geometry’s attributes to build the orientation.

To use this node as a constraint with an offset, use this node as a parent transform for a Parent Constraint VOP node.

Parameters

File

Specifies on which input or operator the geometry containing the surface is located.

Geometry Path

Specifies the path to the geometry.

This parameter is only available when File is set to Operator Path.

Primitive Number

Specifies the index of the primitive on the geometry to reference.

This parameter is only available when UV Attribute is turned off.

UV Attribute

When on, the specified attribute is used to resolve the position on the surface. When off, implicit primitive UVs are used.

UV Position

Specifies a vector2 specifying the UV position on the surface.

Get Look At From

Specifies the source of the Z-axis for the output transform. The vector is normalized, so its magnitude does not affect the scales of the transform.

Attribute

Use the specified attribute sampled from the path.

Vector

Set the Z-axis of the output transform to the vector given by Look At Vector.

Look At Attribute

The name of the vector3 attribute to use as the 'look at' direction.

This parameter is only available when Get Look At From is set to Attribute.

Look At Vector

The explicitly set look at direction vector.

This parameter is only available when Get Look At From is set to Vector.

Get Look Up From

This specifies the source of the Y-axis for the output transform. The vector is normalized, so its magnitude does not affect the scales of the transform.

Attribute

Use the specified attribute sampled from the path.

Vector

Set the Y-axis of the output transform to the vector given by Look Up Vector.

Look Up Attribute

id: lookupattribute

The name of the vector3 attribute to use as the 'look up' direction.

This parameter is only available when Get Look Up From is set to Attribute.

Look Up Vector

The explicitly set look up direction vector.

This parameter is only available when Get Look Up From is set to Vector.

Inputs

file

The geometry containing the surface.

oppath

The path to the geometry.

primnum

The index of the primitive on the geometry to reference.

uvpos

A vector2 specifying the UV position on the surface.

lookatvector

The explicitly set look at direction vector.

lookupvector

The explicitly set look up direction vector.

Outputs

outxform

The output transform.

See also

VOP nodes