Attribute SOP

From TouchDesigner Documentation
Revision as of 17:32, 19 February 2020 by Markus Heckmann (talk | contribs) (officializing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Summary
[edit]

The Attribute SOP allows you to manually rename and delete point and primitive attributes.

PythonIcon.pngattributeSOP_Class


Parameters - Point Page

The top portion of this page deals with the renaming of attributes. Specify the name of the original incoming attribute in the first column, and the new name you want it renamed to in the second column.

Cd Alpha

Pattern Matching - Deletion accepts general pattern matching when determining which attributes to delete. For example:

* = Delete all attributes
Cd = Delete the Cd attribute
Cd Alpha = Delete Cd & Alpha attributes
a* = Delete all attributes beginning with a
* ^Cd = Delete all attributes except Cd

Note: You should never delete just one of the following attributes, but always keep/delete them together. This is because TouchDesigner's capture/deform system expects these three attributes to occur together. Deleting a subset of the three will cause errors as they are interdependent: pCapt (point attribute), pCaptPath, pCaptData (detail attribute)

Delete Attributes ptdel - - At the bottom of the Point page, there is a field to specify attributes to delete. Simply enter a list of the attributes (separated by spaces) to delete. For example entering:Cd Alpha

  • * * -

From Attribute 0 frompt0 -  

To Attribute 0 topt0 -  


Parameters - Vertex Page

These tabbed pages are identical to the Point page except that they deal with vertex and primitive attributes of the input geometry.

Delete Attributes vtxdel - -

  • * * -

From Attribute 0 fromvtx0 -  

To Attribute 0 tovtx0 -  


Parameters - Primitive Page

Accepts geometry of all types.

Delete Attributes primdel - -

  • * * -

From Attribute 0 frompr0 -  

To Attribute 0 topr0 -  


Parameters - Detail Page

Delete Attributes dtldel - -

  • * * -

From Attribute 0 fromdtl0 -  

To Attribute 0 todtl0 -  


Operator Inputs

  • Input 0 -

TouchDesigner Build:

SOPs
Add • Alembic • Align • Arm • Attribute Create • Attribute • Basis • Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • Copy • CPlusPlus • Creep • Curveclay • Curvesect • DAT to • Deform • Delete • Divide • Extrude • Facet • File In • Fillet • Fit • Font • Force • Fractal • Grid • Group • Hole • Import Select • In • Introduction To SOPs id • Inverse Curve • Iso Surface • Join • Joint • Kinect • Lattice • Limit • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Profile • Project • Rails • Raster • Ray • Rectangle • Refine • Resample • Revolve • Script • Select • Sequence Blend • Skin • Sort • Sphere • Spring • Sprite • Stitch • Subdivide • Superquad • Surfsect • Sweep • Switch • Text • Texture • Torus • Trace • Trail • Transform • Trim • Tristrip • Tube • Twist • Vertex • Wireframe • ZED

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.

Each SOP has a list of Points. Each point has an XYZ 3D position value plus other optional attributes. Each polygon Primitive is defined by a vertex list, which is list of point numbers.

Matching strings using wildcard characters and bracketing. Useful in "Select" parameters to select multiple operators, paths, etc.

Matching strings using wildcard characters and bracketing. Useful in "Select" parameters to select multiple operators, paths, etc.

Information associated with SOP geometry. Points and primitives (polygons, NURBS, etc.) can have any number of attributes - position (P) is standard, and optional are normals (N), texture coordinates (uv), color (Cd), etc.

A surface type in SOPs including polygon, curve (NURBS and Bezier), patch (NURBS and Bezier) and other shapes like sphere, tube, and metaball. Points and Primitives are part of the Geometry Detail, which is a part of a SOP.