ChOp Multiplexer

The Channel Operator Multiplexer allows to combine values from previous Channel Operators (ChOps) into a single output value.

 
A Channel Operator Multiplexer seen in the Channel Operator Editor (left) and in the Maya Node Editor (right)
 
Note that the indices at which inputs are connected have different meanings (see image below):
  • the PreviousChOps[0] is an else value
  • all the following inputs are grouped by 2 where ​(i starting at 1 and always being an odd number).
    • PreviousChOps[i] is a value
    • PreviousChOps[i+1] is a weight associated to that value 
To make it easier to remember, the values are aliased in the Channel Operator Editor and the Node Editor:
 
Previous Ch Ops inputs renamed according to their meaning

Creation

Configuration

A Channel Operator Multiplexer defines the following specific attributes. For common attributes see Channel Operator Common Attributes.

Channel Operator Attributes

Multiplexer Mode

Defines how the various input are combined together.
Available values are:

  • Interpolate: interpolate all input values with their relative weights. If the sum of weights is less than 1, then the else value is used with the missing weight ratio.
  • Interpolate with normalized weights: interpolate all inputs values with their relative weights, but normalize the weights before. The else value is only used if the sum of weights is 0
  • Interpolate Max value only: interpolate only the value that have the maximum weight with the else value
  • Interpolate Min value only: interpolate only the value that have the minimum weight with the else value
  • Select Maximum: no interpolation, the result with be the exact same value than the one with the maximum weight, or the else value if all weights are 0
  • Select Minimum: no interpolation, the result with be the exact same value than the one with the minimum weight