Using POP Attributes
Curriculum Navigator:
If you’re viewing this page from the TouchDesigner curriculum explorer, you can use the buttons below to interact with this topic.
Overview:
Attributes are a fundamental data element of POPs. A POP contains a list of points which is made of a set of Point Attributes. Every point has a position attribute called P that has three components for its X, Y, Z dimensions: P(0), P(1) and P(2), respectively.
Derivative defines both Standard and Common attributes that are often used in TouchDesigner. Standard attributes are position or P, color or Color, and normal or Normal, and Texture or Tex. Meanwhile, Common attributes include PointScale, LineWidth, Speed, Weight, etc.
Additional attributes can be added to POPs in various ways:
- Using the Attribute POP
- Using the ‘New Attribute’ parameter found on some POPs
- Using the ‘Output Attribute Scope’ parameter found on some POPs
Attributes can be scalar (a single component like Weight), vector (2, 3, or 4 components like P or Color), or matrix (up to 4×4). Note that attributes can only contain alphabetic characters, and Standard or Common Attributes defined by Derivative are named with a capitalized first letter.
In this topic, we can see how to manipulate standard or common POP attributes.
References:
- POPs – Derivative Wiki
- Circle POP – Derivative Wiki
- Attribute POP – Derivative Wiki
- Pattern POP – Derivative Wiki
- POP to CHOP – Derivative Wiki
- Copy POP – Derivative Wiki
