Grid SOP
Summary[edit]
The Grid SOP allows you to create grids and rectangles using polygons, a mesh, Bzier and NURBS surfaces, or multiple lines using open polygons.
Parameters - Page
Primitive Type type
- ⊞ - Select from the following types. For information on the different types, see the Geometry Types section. Depending on the primitive type chosen, some SOP options may not apply.
- Polygon
poly
-
- Mesh
mesh
-
- NURBS
nurbs
-
- Bezier
bezier
-
Connectivity surftype
- ⊞ - (Results only viewable for polygons and meshes).
- Rows
rows
- Creates horizontal lines.
- Columns
cols
- Creates vertical lines.
- Rows and Columns
rowcol
- Both Rows and Columns. Looks like Quads in wireframe display, but all polygons are open (if the primitive type is polygon). Compare them in the Model Editor.
- 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.
Orientation orient
- ⊞ - Specifies on which plane the Grid is built.
- XY Plane
xy
-
- YZ Plane
yz
-
- ZX Plane
zx
-
Modify Bounds modifybounds
- Enabled only when an input is connected to the Grid SOP to set bounds for the grid. Turn Modify Bounds = On to enable the transform parameters below to further modify the position and scale of the bounds.
Size size
- ⊞ - The X and Y scale of the grid.
- X
sizex
-
- Y
sizey
-
Center t
- ⊞ - Center of grid in X, Y, and Z.
- X
tx
-
- Y
ty
-
- Z
tz
-
Rows rows
- The number of rows and columns. Rows are horizontal lines; Columns are vertical lines. Two rows by two columns makes a square or rectangle. For example, one row and two columns makes a single line if Connectivity is set to Rows.
For NURBS and Bzier surfaces, the Rows & Cols refer to the surface hull construction, and as such, the number of Rows and Cols should not be less than the Order in U or V.
Columns cols
- The number of rows and columns. Rows are horizontal lines; Columns are vertical lines. Two rows by two columns makes a square or rectangle. For example, one row and two columns makes a single line if Connectivity is set to Rows.
For NURBS and Bzier surfaces, the Rows & Cols refer to the surface hull construction, and as such, the number of Rows and Cols should not be less than the Order in U or V.
U Order orderu
- U Order Degree of spline basis +1 in the U parametric direction.
V Order orderv
- V Order Degree of spline basis +1 in the V parametric direction.
End Point Interpolate in U interpu
- End-point interpolate in U Extends the surface to touch the end point in the U direction.
End Point Interpolate in V interpv
- End-point interpolate in V Extends the surface to touch the end point in the V direction.
Texture Coordinates texture
- ⊞ - This adds uv coordinates to the geometry created by the Grid SOP.
- Off
off
- No uv coordinates added.
- Row & Columns
rowcol
- uv coordinates added based on Rows and Columns in the geometry.
Compute Normals normals
- Checking this option On will compute surface normals.
Operator Inputs
- Input 0 -
TouchDesigner Build:
SOPs |
---|
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • |
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.
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.