Difference between revisions of "Superquad SOP"

From TouchDesigner Documentation
Jump to: navigation, search
(cleaning)
(cleaning)
Line 15: Line 15:
 
|items=
 
|items=
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=poly
|Itemname=poly
+
|itemSummary=
|Itemsummary=
+
|itemLabel=Polygon
|Itemlabel=Polygon
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=type
|Parname=type
+
}}<!--
}}
+
-->{{ParameterItem|itemName=mesh
{{Menuitem
+
|itemSummary=
|Itemname=mesh
+
|itemLabel=Mesh
|Itemsummary=
+
|opFamily=SOP
|Itemlabel=Mesh
+
|parName=type
|OPfamily=SOP
 
|Parname=type
 
 
}}
 
}}
 
 
Line 40: Line 38:
 
}}
 
}}
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=rows
|Itemname=rows
+
|itemSummary=Creates horizontal lines.
|Itemsummary=Creates horizontal lines.
+
|itemLabel=Rows
|Itemlabel=Rows
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=surftype
|Parname=surftype
+
}}<!--
}}
+
-->{{ParameterItem|itemName=cols
{{Menuitem
+
|itemSummary=Creates vertical lines.
|Itemname=cols
+
|itemLabel=Columns
|Itemsummary=Creates vertical lines.
+
|opFamily=SOP
|Itemlabel=Columns
+
|parName=surftype
|OPfamily=SOP
+
}}<!--
|Parname=surftype
+
-->{{ParameterItem|itemName=rowcol
}}
+
|itemSummary=Both Rows and Columns. Looks like Quads in wire frame display, but all polygons are open (if the primitive type is polygon).
{{Menuitem
+
|itemLabel=Rows and Columns
|Itemname=rowcol
+
|opFamily=SOP
|Itemsummary=Both Rows and Columns. Looks like Quads in wire frame display, but all polygons are open (if the primitive type is polygon).
+
|parName=surftype
|Itemlabel=Rows and Columns
+
}}<!--
|OPfamily=SOP
+
-->{{ParameterItem|itemName=triangles
|Parname=surftype
+
|itemSummary=Build the grid with Triangles.
}}
+
|itemLabel=Triangles
{{Menuitem
+
|opFamily=SOP
|Itemname=triangles
+
|parName=surftype
|Itemsummary=Build the grid with Triangles.
+
}}<!--
|Itemlabel=Triangles
+
-->{{ParameterItem|itemName=quads
|OPfamily=SOP
+
|itemSummary=Generates sides composed of quadrilaterals (default).
|Parname=surftype
+
|itemLabel=Quadrilaterals
}}
+
|opFamily=SOP
{{Menuitem
+
|parName=surftype
|Itemname=quads
+
}}<!--
|Itemsummary=Generates sides composed of quadrilaterals (default).
+
-->{{ParameterItem|itemName=alttriangles
|Itemlabel=Quadrilaterals
+
|itemSummary=Generates triangles that are opposed; similar to the <span class="tipTextSOP">Triangles</span> option.
|OPfamily=SOP
+
|itemLabel=Alternating Triangles
|Parname=surftype
+
|opFamily=SOP
}}
+
|parName=surftype
{{Menuitem
 
|Itemname=alttriangles
 
|Itemsummary=Generates triangles that are opposed; similar to the <span class="tipTextSOP">Triangles</span> option.
 
|Itemlabel=Alternating Triangles
 
|OPfamily=SOP
 
|Parname=surftype
 
 
}}
 
}}
 
 
Line 103: Line 95:
 
{{Parameter|parItems=
 
{{Parameter|parItems=
 
{{floatitem
 
{{floatitem
|Itemname=radx
+
|itemName=radx
|Itemsummary=
+
|itemSummary=
|Itemlabel=X
+
|itemLabel=X
|OPfamily=SOP
+
|opFamily=SOP
|Parname=rad
+
|parName=rad
 
}}
 
}}
 
{{floatitem
 
{{floatitem
|Itemname=rady
+
|itemName=rady
|Itemsummary=
+
|itemSummary=
|Itemlabel=Y
+
|itemLabel=Y
|OPfamily=SOP
+
|opFamily=SOP
|Parname=rad
+
|parName=rad
 
}}
 
}}
 
{{floatitem
 
{{floatitem
|Itemname=radz
+
|itemName=radz
|Itemsummary=
+
|itemSummary=
|Itemlabel=Z
+
|itemLabel=Z
|OPfamily=SOP
+
|opFamily=SOP
|Parname=rad
+
|parName=rad
 
}}
 
}}
 
 
Line 135: Line 127:
 
{{Parameter|parItems=
 
{{Parameter|parItems=
 
{{floatitem
 
{{floatitem
|Itemname=tx
+
|itemName=tx
|Itemsummary=
+
|itemSummary=
|Itemlabel=X
+
|itemLabel=X
|OPfamily=SOP
+
|opFamily=SOP
|Parname=t
+
|parName=t
 
}}
 
}}
 
{{floatitem
 
{{floatitem
|Itemname=ty
+
|itemName=ty
|Itemsummary=
+
|itemSummary=
|Itemlabel=Y
+
|itemLabel=Y
|OPfamily=SOP
+
|opFamily=SOP
|Parname=t
+
|parName=t
 
}}
 
}}
 
{{floatitem
 
{{floatitem
|Itemname=tz
+
|itemName=tz
|Itemsummary=
+
|itemSummary=
|Itemlabel=Z
+
|itemLabel=Z
|OPfamily=SOP
+
|opFamily=SOP
|Parname=t
+
|parName=t
 
}}
 
}}
 
 
Line 166: Line 158:
 
}}
 
}}
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=x
|Itemname=x
+
|itemSummary=
|Itemsummary=
+
|itemLabel=X Axis
|Itemlabel=X Axis
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=orient
|Parname=orient
+
}}<!--
}}
+
-->{{ParameterItem|itemName=y
{{Menuitem
+
|itemSummary=
|Itemname=y
+
|itemLabel=Y Axis
|Itemsummary=
+
|opFamily=SOP
|Itemlabel=Y Axis
+
|parName=orient
|OPfamily=SOP
+
}}<!--
|Parname=orient
+
-->{{ParameterItem|itemName=z
}}
+
|itemSummary=
{{Menuitem
+
|itemLabel=Z Axis
|Itemname=z
+
|opFamily=SOP
|Itemsummary=
+
|parName=orient
|Itemlabel=Z Axis
 
|OPfamily=SOP
 
|Parname=orient
 
 
}}
 
}}
 
 
Line 268: Line 257:
 
}}
 
}}
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=off
|Itemname=off
+
|itemSummary=No UV coordinates added to surface.
|Itemsummary=No UV coordinates added to surface.
+
|itemLabel=Off
|Itemlabel=Off
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=texture
|Parname=texture
+
}}<!--
}}
+
-->{{ParameterItem|itemName=rowcol
{{Menuitem
+
|itemSummary=Adds vertex UV coordinates.
|Itemname=rowcol
+
|itemLabel=Row & Columns
|Itemsummary=Adds vertex UV coordinates.
+
|opFamily=SOP
|Itemlabel=Row & Columns
+
|parName=texture
|OPfamily=SOP
 
|Parname=texture
 
 
}}
 
}}
 
 

Revision as of 18:57, 24 January 2019

Summary
[edit]

The Superquad SOP generates an isoquadric surface. This produces a spherical shape that is similar to a metaball, with the difference that it doesn't change it's shape in response to what surrounds it. You can change the XY Exponent of an isoquadric surface to define it to be more "squarish" or "starish" in shape. Also, an isoquadric surface is always defined as a polygonal or mesh type geometry.

PythonIcon.pngsuperquadSOP_Class


Parameters - Page

Primitive Type type - - Select from the following types. For information on the different types, see the Geometry Types Guide. Depending on the primitive type chosen, some SOP options may not apply.

  • Polygon poly -
  • Mesh mesh -

Connectivity surftype - - This option is used to select the type of surface, when using a Mesh primitive type.

  • Rows rows - Creates horizontal lines.
  • Columns cols - Creates vertical lines.
  • Rows and Columns rowcol - Both Rows and Columns. Looks like Quads in wire frame display, but all polygons are open (if the primitive type is polygon).
  • Triangles triangles - Build the grid with Triangles.
  • Quadrilaterals quads - Generates sides composed of quadrilaterals (default).
  • Alternating Triangles alttriangles - Generates triangles that are opposed; similar to the Triangles option.

Modify Bounds modifybounds -  

Radius rad - - Determines overall radius.

Center t - - Offset of superquad center from object center.

Orientation orient - - Determines pole axis for the iso surface.

  • X Axis x -
  • Y Axis y -
  • Z Axis z -

Rows rows - Number of rows used in the superquad.  

Columns cols - Number of columns used in the superquad.  

XY Exponent expxy - The XY Exponent determines inflation / contraction in the X and Y axes.  

Z Exponent expz - The Z Exponent determines inflation / contraction in the Z axis. See the Metaball SOP for a description of exponents.  

Multiple Points per Pole upole - Determines whether points at the poles are shared or are unique to the columns.  

Cusp Polygons cusp - Makes points unique, causing the superquad to be faceted.  

Cusp Angle angle - Input angle in degrees to determine when vertices are shared or not, creating cusping.  

Texture Coordinates texture - - Adds UV texture coordinates to the sphere.

  • Off off - No UV coordinates added to surface.
  • Row & Columns rowcol - Adds vertex UV coordinates.

Compute Normals normals -  


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 • Experimental:Sprinkle • 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.

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.

A polygon is a type of Primitive that is formed from a set of Vertices in 3D that are implicitly connected together to form a multi-edge shape.

A polygon is a type of Primitive that is formed from a set of Vertices in 3D that are implicitly connected together to form a multi-edge shape.