PxrManifold2D

PxrManifold2D

Encapsulates 2D parameterization for pattern generators. Allows transformations and selection of arbitrary variables bound to primitives. Uses a simple struct to represent bundled dataflow of outputs.

Input Parameters

Angle

Rotation angle around origin

RIB: float angle
Default: 0.0

Scale S

Frequency of a feature in the S direction.

RIB: float scaleS
Default: 1.0

Scale T

Frequency of a feature in the T direction.

RIB: float scaleT
Default: 1.0

Offset S

Offset from the origin in the S direction.

RIB: float offsetS
Default: 0.0

Offset T

Offset from the origin in the T direction.

RIB: float offsetT
Default: 0.0

Invert T

Flip the manifold in the T direction.

RIB: int invertT
Default: 1

PrimVar S/ST

Name of custom 1D S or 2D ST primvar

RIB: string primvarS
Default: ""

PrimVar T

Name of custom 1D T primvar

RIB: string primvarT
Default: ""

Output Parameters

result

The 2D manifold.

resultS

A float representation of the S component of the manifold.

resultT

A float representation of the T component of the manifold.