Phaser POP
Summary[edit]
The Phaser POP works like the Phaser CHOP. It does staggered (time-offset) animation interpolation on a POP attribute. Phaser outputs one new attribute Phaser. Each point animates Phaser from 0 to 1 over a cycle, but each point's value rises from 0 and arrives at 1 at different times.
The Output Attribute Scope Phase can be used to blend or animate other attributes downstream. Phase is multi-component if the Phase Attribute Scope is multi-component.
The Fraction parameter is by default clamped between 0 and 1. The Extend Input menu lets you control Fraction with numbers below 0 and above 1 with different effect. When Fraction goes above 1:
- Clamp - default and current behavior - the values hold.
- Cycle - the Phaser goes back to its 0 state and cycles the input time 0-1
- Mirror - the Phaser fully reverses and zig-zags the input time between 0-1
- Mirror Slope - the first sample starts decreasing first after the input time goes above 1
- Add - the Phaser outputs values that keep increasing when the input time goes beyond 1
See also Phaser CHOP
Parameters - Phaser Page
phaseattrscope - Input attribute scope.
fract - Sets the phase fraction.
parsize - ⊞ - Number of independent configurable parameter values.
- 1
1-
- 2
2-
- 3
3-
- 4
4-
edge - Set the separation edge of the phasing between two states
reversephase - Reverse the staggered animation interpolation.
smoothstep - Enable value remapping with a smoothstep function.
castto - ⊞ - Allows to cast the output attribute to a different type if wanted.
- Automatic
auto-
- Float
float-
- Int
int-
outputattrscope - ⊞ - Name of attribute to output (can choose components of attribute), can choose from menu.
- P
P-
- N
N-
- Color
Color-
- Color.rgb
Color.rgb-
- Tex
Tex-
- PointScale
PointScale-
- LineWidth
LineWidth-
overrideautoattr - Whether to override the kind of attribute automatically created based on the POP input and parameters. Allows to specify manually the type and number of components of the new attribute.
attrtype - ⊞ - The output attribute's data type, default float.
- float
float-
- double
double-
- int
int-
- uint
uint-
- Color
color-
- Color (double)
dcolor-
- Direction
dir-
- Direction (double)
ddir-
attrnumcomps - ⊞ - The number of components in the new custom attribute.
- 1
1-
- 2
2-
- 3
3-
- 4
4-
attrdefaultval - ⊞ - Default values of the output attribute components if they cannot be computed.
- Default Value
attrdefaultval0- Default value(s) of the attribute.
- Default Value
attrdefaultval1- Default value(s) of the attribute.
- Default Value
attrdefaultval2- Default value(s) of the attribute.
- Default Value
attrdefaultval3- Default value(s) of the attribute.
attrclass - ⊞ - Makes the POP operate on point attributes, vertex attributes or primitive attributes where applicable.
- Point
point-
- Vertex
vertex-
- Primitive
primitive-
fromlow - Reranges the phase attribute value.
fromhigh - Reranges the phase attribute value.
tolow - Sets low value on the output range.
tohigh - Sets high value on the output range.
Parameters - Common Page
bypass - Pass through the first input to the output unchanged.
freeextragpumem - Free memory that has accumulated when output memory has grown and shrunk.
delinputattrs - Only output which attributes you specify in this POP - helps isolate attributes into a separate branch.
Operator Inputs
- Input 0: -
Info CHOP Channels
Extra Information for the Phaser POP can be accessed via an Info CHOP.
Common POP Info Channels
Common Operator Info Channels
- total_cooks - Number of times the operator has cooked since the process started.
- cook_time - Duration of the last cook in milliseconds.
- cook_frame - Frame number when this operator was last cooked relative to the component timeline.
- cook_abs_frame - Frame number when this operator was last cooked relative to the absolute time.
- cook_start_time - Time in milliseconds at which the operator started cooking in the frame it was cooked.
- cook_end_time - Time in milliseconds at which the operator finished cooking in the frame it was cooked.
- cooked_this_frame - 1 if operator was cooked this frame.
- warnings - Number of warnings in this operator if any.
- errors - Number of errors in this operator if any.
TouchDesigner Build:
| POPs |
|---|
| • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • |