Join CHOP

From TouchDesigner 099 Wiki

Summary

The Join CHOP takes all its inputs and appends one CHOP after another. It is expected they all have the same channels.

The end section of the first CHOP is overlapped with the start section of the second CHOP, and so on for the rest of the input CHOPs. The second input is shifted to line up with the end of the first.

Blending allows you to splice channels together by slowly phasing out one CHOP while phasing into the next, or by inserting interpolation curves between the channels of the adjacent CHOPs.

Quaternion Blend blends rotation triplets (rx ry rz) together using the shortest rotation arc. Rotation triplets are identified by "quaternion" attributes, which are set in the Attribute CHOP.

Translation Blending blends translation channels together by slowly changing from the final velocity of the previous channel to the initial velocity of the next. The next channel may be shifted up or down. If this is undesirable, use cubic blending instead (in the Shape menu). Translation Blending is done on channel triplets that represent translations or positions (*tx *ty *tz).

PythonIcon.png joinCHOP_Class

Parameters - Blend Page

Method - The blend method to produce a seamless sequence:

  • Preserve Length - The total length of the CHOPs is constant.
  • Overlap Sequences - Overlaps the current CHOP with the prior CHOP. Better for audio.
  • Insert Blend Region - Inserts a region between the CHOPs where the blending is done.

Shape - The blend interpolation shape to use. See Shape in the Cycle CHOP.

First Input Specifies Blend Regions - When this is checked on, the first input can be a multi-channel input which specifies blend regions for the remaining inputs into the Join CHOP. Channel 1 of input0 is used to blend between input1 & input2, channel 2 between input2 & input3, and so on. If not enough channels are specified, the last channel is repeated.

Region - The size of the blend region.

Bias - Which segment to favour when blending: the previous (-1), the next (+1) or neither (0).

Match By - Match channels between inputs by index or by name.

Parameters - Scope Page

Step - If set to 1, the next segment will be shifted up or down so that it begins where the last segment ended.

Step Scope - The names of channels that use Step.

Blend Scope - The names of the channels that should be blended. Other channels will not be blended.

Translate Blend - The names of channels that will be translation-blended. Each string field contains a list of its component channels, such as *tx, *ty and *tz.

Parameters - Rotate Page

Quaternion Blend - Use quaternion blending on rotation channels.

Shortest Path Rotation Blending - If enabled, compensates

Rotation Scope - Enabled when Shortest Path Rotation Blending is turned on.

Cycle Length - Enabled when Shortest Path Rotation Blending is turned on.