Composite CHOP

From TouchDesigner 099 Wiki

Summary

The Composite CHOP layers (blends) the channels of one CHOP on the channels of another CHOP. The first input is the base input and the second is the layer input. It is designed for blending static multi-frame motion channels. Blending time-sliced channels or single-frame channels should be done with the Blend CHOP.

Over the interval of the layer, the layer channels are blended with the base channels. The contribution of the layer is eased-in and eased-out according to the Start, Peak, Release and End parameters. The base is unaffected outside the interval of the layer.

The Effect parameter determines the amount of contribution of the layer.

If Base Hold is 0, the layer input will completely replace the base input when the effect is 1. If the Base Hold is 1, the layer will be added to the base.

The interval of the output starts at the minimum of the base and layer. The interval of the output ends at the maximum of the base and layer. The base's extend conditions are used if the layer lies outside the base.

Note: If the third input is supplied, the Effect page will be overridden by the third input's first channel, which should contain the effect values over the range of the layer.

PythonIcon.png compositeCHOP_Class

Parameters - Composite Page

Base Hold - Determines how much of the base to blend into the output at points where the layer has an effect.

Match By - Matches channels in the base input with ones in the layer input by either index or name.

Quaternion Blend - Allows rotations with the quaternion attribute set to use spherical interpolation to produce smooth rotation blending (set in the Attribute CHOP).

Shortest Path Rotation Blending - It better-handles the blending from one set of angles to another, taking into account 0 degrees is 360 degrees.

Rotation Scope - Pattern (like *rx *ry *rz) that identifies which channels are rotations that should be handled specially as per the above option.

Cycle Length - Blend 0 degrees to this angle, generally 360.

Parameters - Effect Page

Note: If the third input is supplied, the Effect page will be overridden by the third input's first channel, which should contain the effect values over the range of the layer.

Effect - Sets how much the layer affects the output. If 0, the output is the base.

Unit Values - Sets the meaning of the next four parameters - either Absolute values, Relative to the Start/End of the channel, or Relative to the Current Frame. The layer and base are never shifted.

Start - The beginning of the composite interval. Effect is zero at the start.

Peak - Where the composite operation reaches maximum effect.
This value is held until the release point.

Release - The point at which the effect begins to fall back towards zero.

End - The end of the composite operation's effect. The effect reduces to zero again.

Rise Shape, Fall Shape - How to interpolate from one CHOP to another. It is the shape of the segment between the Start and Peak indices, or between Release and End.

Standard Options and Local Variables