Box SOP

From TouchDesigner Documentation
Jump to: navigation, search

Summary
[edit]

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.pngboxSOP_Class


Parameters - Page

Modify Bounds modifybounds -  

Size size - - Size of the Box or Cube along the X, Y, and Z axes.

  • X sizex -
  • Y sizey -
  • Z sizez -

Center t - - These X,Y, and Z Values determine where the center of the Box is located.

  • X tx -
  • Y ty -
  • Z tz -

Scale s -  

Use Divisions dodivs - 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 divs - - The number of divisions in X, Y, and Z to split this Box into.

  • X divsx -
  • Y divsy -
  • Z divsz -

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

Consolidate Corner Points consolidatepts - 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 texture - - Determines how the texture coordinates are applied to the box.

  • Off off -
  • Box Inside boxinside -
  • Face Inside faceinside -
  • Cube Map Inside cubemapinside -
  • Box Outside boxoutside -
  • Face Outside faceoutside -
  • Cube Map Outside cubemapoutside -

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


Uses

To create boxes.

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


Operator Inputs

  • Input 0 -

TouchDesigner Build:

SOPs
Add • Experimental:Add • Alembic • Align • Arm • Attribute Create • Attribute • Experimental:Attribute • Basis • Blend • Experimental:Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • Copy • Experimental: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 • Experimental:Limit • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Experimental:Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Experimental:Point • Polyloft • Experimental:Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Experimental:Primitive • Profile • Project • Rails • Experimental: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 • Experimental:Vertex • Wireframe • ZED

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