Houdini 20.0 Nodes VOP nodes

OpenSubdiv Lookup Face VOP node

Outputs the Houdini face and UV coordinates corresponding to the given coordinates on an OSD patch.

On this page
Since 16.0

To get OSD coordinates from Houdini coordinates, use OpenSubdiv Lookup Patch.

Inputs

input

A string containing a geometry file name. When running inside Houdini, this can be an op:/path/to/sop reference.

patch_id

The ID number of the OSD patch.

patch_u, patch_v

The coordinates in the subdivision patch to map onto a Houdini primitive. These values should be in the range 0 to 1.

attrib

If you specify a texture attribute, the function uses the UVs in that attribute to translate the patch coordinates onto the Houdini geometry.

Outputs

success

1 on success or 0 on an error.

face_id

The Houdini primitive number of the corresponding face.

face_u, face_v

The corresponding U/V coordinates on the Houdini face. The output coordinates will have values in the range 0 to 1.

See also

VOP nodes