Limit SOP

From TouchDesigner 088 Wiki

Summary

The Limit SOP creates geometry from samples fed to it by CHOPs. It creates geometry at every point in the sample. Different types of geometry can be created using the Output Type parameter on the Channels Page.

PythonIcon.png limitSOP_Class

Parameters - Channels Page

CHOP /chop - Specifies which CHOP Network / CHOP contains the sample data to fetch.

Rotate Order /rOrd - Specifies the order in which the Rotate Channel X / Y / Z channels are applied.

X / Y / Z Channel /chanx /chany /chanz - Channels used to specify the point's positions, tx, ty, and tz.

Rotate Channel X / Y / Z /chanrx /chanry /chanrz - Channels used to specify the rotational data of the geomtery created at each point. Only used when Output Type is "Polygon at Each Point" or "Primitive Circle at Each Point".

Radius Channel /chanrad - Uniformly controls the radius of the geometry created at each point. The Radius channels are multiplied with the Radius parameter on the Output Page.

Radius Channel X / Y / Z /chanradx /chanrady /chanradz - Channels that control the radius on the respective axis. The Radius channels are multiplied with the Radius parameter on the Output Page.

Alpha Channel /chanalpha - Controls the point alpha, giving you alpha control of any geometry created at those points.

Note: If using a Copy SOP, turn on the Use Template Point Attributes option in the Copy SOP's Attributes Page to allow the geometry to inherit the point attributes.

Red / Green / Blue Channel /chanr /chang /chanb - These channels control the point color, or the color of any geometry created at those points.

Custom Attrib Name /customattrib0 /customattrib1 - Allows custom attributes to be added to the geometry created.

Texture W /texturew - Controls the w texture-offset for the point(s) This is most often used as a frame-offset or time-offset, expressed in # of frames from the current frame or frame 1 of an image sequence.

Parameters - Output Page

Output Type /output - The type of geometry the Limit SOP produces from its sample data.

  • Polygonal Line - creates a point for each sample and connects them with a polygonal line.
  • Polygon at Each Point - places a polygon at each sample point. Number of points in polygon defined by Divisions.
  • Primitive Circle at Each Point - places a primitive circle at each sample point.
  • Sphere at Each Point - places a primitive sphere at each smaple point.
  • Poly Sphere at Each Point - places a polygonal sphere at each sample point. Sphere's frequency defined by Divisions.
  • Tubes - creates a tube down the path. Tubes cross-section defined by Divisions.
  • Strips - creates a strip down the path. Number of points in strip defined by Divisions.

Divisions /divisions - Only works on the following Output Types.

  • Polygon at Each Point - Number of points per polygon.
  • Poly Sphere at Each Point - Frequency of each Polygonal Sphere.
  • Tubes - Number of points in cross-section of the tube.
  • Strips - Number of points in cross-section of the strip.

Radius /rad - Radius of geometry created. Disabled for "Polygonal Line".

Smooth Flip /flipsmooth - Dynamically controls the twist of each instance of geometry on a series of points to avoid frame-by-frame flipping, which can sometimes occur when geometry is oriented along a path.

Limit /dolimit - Creates a bounding box for the position of the output geometry. Drop down menu determines behavior when outside bounded region.

  • Off - Bounding region off.
  • Clamp - Clamps position to specified value.
  • Loop - Loops position between bounded region.
  • Zigzag - Zigzags position back and forth between bounded region.

X / Y / Z Limit /xlimit /ylimit /zlimit - Parameters to set edges of bounding region when Limit is active.

Apply Texture /texture - Applys u, v, and w texture coordinates to the created geometry.

Scale /texscale - Scales the texture coordinates a specific amount.

Offset /texoffset - Offsets the texture coordinates a specific amount.

Orient to Path /orient - If this option is selected, the object will be oriented along the path. To see what the path looks like, change the Output Type to "Polygonal Line". When the Output Type is "Polygon/Primitive Circle at Each Point", the positive Z axis of each object will be pointing down the path. When the Output Type is "Tubes/Strips" then the cross-section of the geometry created will be pointing down the path.

Lookat Object /lookat - Orient to Path must be checked for Lookat Object to have any effect. This allows you to orient your geometry by naming the object you would like it to Look At, or point to. Once you have designated this object to look at, it will continue to face that object, even if you move it. The Look At parameter points the each piece of geometry at the other object's origin individually.

Rotate Polys /dorotate - Rotate the geometry at each point using the Rotate parameter (below). Only works for Output Type is "Polygon/Primitive Circle at Each Point".

  • Off - Do not rotate polys. Rotate parameter is greyed out.
  • On - Add value of Rotate to polys equally.
  • Cumulative - Add value of Rotate to polys cumulatively (ie. increasing with each poly).

Rotate /rotate - Rotation channels rx, ry, and rz for Rotate Polys parameter.

Compute Normals /normals - computes normals for the geometry created.

See Also