Shift
channel node
This time-shifts a CHOP, changing the start and end of the CHOP’s interval.
See also: Cycle, Extend, Stretch, Trim
This time-shifts a CHOP, changing the start and end of the CHOP’s interval. However, the contents of the channels remain the same.
Each channel can be shifted a different amount by using the $C variable in the Scroll parameter.
An optional second input, the Start/End Reference, is used to align the first input CHOP relative to another reference CHOP. This outputs the channels of the first CHOP only, and the shifts are based on the interval of the second CHOP. It is useful for making several CHOPs match up to the same time.
Parameters
Shift
|
Reference |
The start or the end of the channels can be used as the reference position. The channels are shifted by altering the reference position.
|
||||||
|
Unit Values |
Determines how the Start and End parameters are are to be interpreted.
|
||||||
|
Start |
The start of the interval, absolute or relative to the input CHOP. |
||||||
|
End |
The end of the interval, absolute or relative to the input CHOP. |
||||||
|
Scroll Offset |
The amount to shift the channel. |
Common
Some of these parameters may not be avaiable on all CHOP nodes.
|
Scope |
To determine which channels get affected, some CHOPs have a scope string. Patterns can be used in the scope, for example The following are examples of possible channel name matching options:
|
||||||||||||||||||
|
Sample Rate Match |
The Sample Rate Match Options handle cases where multiple input CHOPs’ sample rates are different.
|
||||||||||||||||||
|
Units |
The units for which time parameters are specified. For example, you can specify the amount of time a lag should last for in seconds (default), frames (at the Houdini FPS), or samples (in the CHOP’s sample rate). Note
When you change the Units parameter, it does not convert the existing parameters to the new units. |
||||||||||||||||||
|
Time Slice |
Time Slicing is a feature which boosts cooking performance and reduces memory usage. Traditionally, CHOPs calculate the channel over its entire frame range. If the channel does need to be evaluated every frame, then cooking the entire range of the channel is unnecessary. It is more efficient to calculate only the fraction of the channel that is needed. This fraction is known as a Time Slice. |
||||||||||||||||||
|
Unload |
Causes the memory consumed by a CHOP to be released after it is cooked and the data passed to the next CHOP. |
||||||||||||||||||
|
Export Prefix |
The Export prefix is prepended to CHOP channel names to determine where to export to. For example, if the CHOP channel was named Note
You can leave the Export Prefix blank, but then your CHOP track names need to be absolute paths, such as |
||||||||||||||||||
|
Graph Color |
Every CHOP has this option. Each CHOP gets a default color assigned for display in the Graph port, but you can override the color in the Common page under Graph Color. There are 36 RGB color combinations in the Palette. |
||||||||||||||||||
|
Graph Color Step |
When the graph displays the animation curves and a CHOP has two or more channels, this defines the difference in color from one channel to the next, giving a rainbow spectrum of colors. |
Local variables
|
S |
The start of the input clip, in samples. |
|
E |
The end of the input clip, in samples. |
|
L |
The length of the input clip, in samples. |
|
C |
The current channel (0 to NC-1). With this variable, channels can be shifted relative to one another. |
|
NC |
The total number of channels. |
Example files
Shift
$HFS/houdini/help/examples/nodes/chop/shift/Shift.cmd
This example demonstrates how the Shift CHOP changes the interval of a CHOP wave, keeping its content and length the same.
The Reference parameter chooses whether the Start or the End is being redefined.
The Unit Values parameter sets whether the new Start/End frame is Relative to its original position, or an Absolute frame number.
Usages in other examples
| Example name | Example for |
|---|