Skip to content
Ryan Porter edited this page Sep 4, 2016 · 2 revisions

angularNodes

Maya math nodes mostly use double for their input and output values. This requires the creation of unitConversion nodes when manipulating values that connect to or from an angular attribute like rotate. The sheer volume of unitConversion nodes that can be present in a rig can bloat the node graph and slow down the rig.

The angularNodes plugin provides a library of nodes for performing common arithmetic operations on angular values, which eliminates the need for the unitConversion nodes.

Nodes

angleBinaryOp

Computes the output of a binary operation of two input angular values. Supported operations are: add, subtract, multiply, divide, and power.

Attributes

  • input1 (i1) (doubleAngle)
  • input2 (i2) (doubleAngle)
  • operation (op) (enum)
  • output (o) (doubleAngle)

angleMultiOp

Computes the output of a reduce operation of an array of input angular values. Supported operations are: sum, difference, product, minimum, and maximum.

Attributes

  • input (i) (doubleAngle[])
  • operation (op) (enum)
  • output (o) (doubleAngle)

angleScalarOp

Computes the output of a binary operation of two input values, one angular, one scalar. Supported operations are: add, subtract, multiply, divide, and power.

Attributes

  • input1 (i1) (doubleAngle)
  • input2 (i2) (double)
  • operation (op) (enum)
  • output (o) (doubleAngle)

angleUnaryOp

Computes the output of a unary operation on an input angular value. Supported operations are: sign, negate, reciprocal, floor, ceiling, and absolute value.

Attributes

  • input (i) (doubleAngle)
  • operation (op) (enum)
  • output (o) (doubleAngle)

clampAngle

Computes the output of a clamp operation on an input angular value; the output will be between the minimum and maximum values.

Attributes

  • input (i) (doubleAngle)
  • min (mn) (doubleAngle)
  • max (mx) (doubleAngle)
  • output (o) (doubleAngle)

Clone this wiki locally