Copy
channel node
Produces multiple copies of the second input along the timeline of the first input.
See also: Delete
This CHOP produces multiple copies of the second input along the timeline of the first input. The first input provides the trigger signals or the convolve levels.
The Copy CHOP can be used to produce a motion every time a trigger occurs. It can be used to trigger motion, such as eyelid blinks. The copies it produces can be identical, or the copies can be re-cooked each time a copy is added to the timeline. It is useful for triggering a sound multiple times, where the sounds may overlap in time.
Each copy that is added to the output can be completely different than any other copy. By passing variables through the Variables page, the second (Copy) input can be any chop chain that uses the variables and recooks to create each copy.
Parameters
Copy
|
Copy Method |
Method used for the copy operation.
|
||||||
|
Output Method |
How to output the channels
|
||||||
|
Trigger Threshold |
The threshold value for triggering copies. |
||||||
|
Remainder |
What to do with remaining samples at end of the interval.
|
||||||
|
Keep Non-Scoped Channels |
If on, non-scoped channels are copied to the output, otherwise they are deleted. |
Variables
|
Cook Each Copy |
Recook the second input for each triggered copy. |
|
Param 1-10 |
The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use local variables and the ic() functions. The parameters you set here are available to any CHOP in the network attached to the second input through function param(“name”, initval), where initval is any initial value for the parameter, usually set to 0. |
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
|
I |
The current index. |
|
C |
The current channel (0 to NC-1). |
|
NC |
The total number of channels. |
|
V |
The value at the current index of the current channel. |
|
CN |
The copy number. (The first thing it copies is 0.) |
Example files
CopyChannels
CopyStamping
$HFS/houdini/help/examples/nodes/chop/copy/CopyStamping.cmd
This example demonstrates how to use the CopyStamp feature of the Copy CHOP. Custom variables are created within the Copy CHOP and used to modify the geometry.
In the file, geometry is imported into CHOPS. The Alpha attribute is scoped and manipulated using the Copy Stamping technique.
The new Alpha data is then brought back to the SOP level, and applied to the geometry’s Position.
Usages in other examples
| Example name | Example for |
|---|