“Sequential Parameters” (Sequential Parameters - Derivative) in TouchDesigner refers to “blocks” of parameters in an operator that is repeated multiple times. For example, a block in an Add SOP may represent a 3D point containing 8 parameters - Position X Y and Z, Normal X Y and Z, and Texture U and V. Two blocks represent two points. You can have as many blocks in a sequence as you want.
Sequential Parameters are built into existing operators, like the Constant CHOP and Add SOP.
On the other hand, “Custom Sequential Parameters” are blocks of custom parameters that you can define in the Component Editor. I was exploring the possible practical uses of custom sequential parameters in a few example cases.
The three test examples in the tox are:
-
rampTop - a keyframing wrapper around the Ramp TOP. General idea of how to turn parameter blocks into a table.
-
remapChopChannels - re-ranging the low-high values of a Math CHOP per-channel.
-
poemPlayer - wrapper around a Timer CHOP’s segment table.
Try them – it may give you some idea of how to use custom sequential parameters in the future. It’s an alternative to building Table DATs and hand-editing them, or creating a UI to manage them. They are easy to set up and use, you can drive them with expressions, the data types are tightly-defined (a float has optional lower/upper limits), but the drawback is that you are using the less-flexible parameter UI, and it doesn’t scale up very well yet (scrolling >20 blocks).
customBlockExamples.tox (40.0 KB)