Box SOP

From TouchDesigner 088 Wiki

Summary

The Box SOP creates cuboids. These can be used as geometries by themselves, or they can be sub-divided for use with the Lattice SOP.

If it has an input then it will create a box that bounds the incoming geometry. Otherwise, the parameters determine the size and location of the box.

PythonIcon.png boxSOP_Class

Parameters

Size /sizex /sizey /sizez - Size of the Box or Cube along the X, Y, and Z axes.

Center /tx /ty /tz - These X,Y, and Z Values determine where the center of the Box is located.

Use Divisions - If checked, it divides the box into the number of Divisions specified below. Boxes divided in this way do not appear when rendered because the Divisions consist of open polygons.

Divisions /divsx /divsy /divsz - The number of divisions in X, Y, and Z to split this Box into.

Enforcement Bars - Places four diagonal crossbars in each division of the Box.

Consolidate Corner Points - Merges the corner points together. Instead of the box being composed of 6 separate faces (resulting in 4 points per corner and a total of 24 points), the corner points are merged together and the box is composed of 8 points.

Texture Coordinates - Determines how the texture coordinates are applied to the box.

Compute Normals - Checking this option on will compute surface normals.

Inputs / Geometry Types

Bounding Source - If an input is used, a bounding box of its geometry is made, and the options Center and Size are disabled.

Uses / Works in Relation With

To create boxes.

You can use the points as an input geometry for the Lattice and Spring SOPs.

See Also