Difference between revisions of "Project SOP"

From TouchDesigner Documentation
Jump to: navigation, search
(TD Editor)
(TD Editor)
Line 89: Line 89:
 
{{ParameterPage
 
{{ParameterPage
 
|Pagename=Along Vector
 
|Pagename=Along Vector
|Pagesummary=
+
|Pagesummary====<div class="subSectionLineSOP">Along Vector </div>===
 +
 +
The face is projected along a 3D vector and its image on the surface is converted into a curve on the surface. One spatial curve may generate several profiles depending on its position relative to the surface, the shape of the surface, and the chosen projection side. If the projected face does not intersect the surface at all, no profile curve will be generated.
 
|OPfamily=SOP
 
|OPfamily=SOP
 
|items=
 
|items=
Line 96: Line 98:
 
{{Menuitem
 
{{Menuitem
 
|Itemname=xaxis
 
|Itemname=xaxis
|Itemsummary=
+
|Itemsummary=Cartesian axis X, Y, or Z.
 
|Itemlabel=X
 
|Itemlabel=X
 
|OPfamily=SOP
 
|OPfamily=SOP
Line 103: Line 105:
 
{{Menuitem
 
{{Menuitem
 
|Itemname=yaxis
 
|Itemname=yaxis
|Itemsummary=
+
|Itemsummary=Cartesian axis X, Y, or Z.
 
|Itemlabel=Y
 
|Itemlabel=Y
 
|OPfamily=SOP
 
|OPfamily=SOP
Line 110: Line 112:
 
{{Menuitem
 
{{Menuitem
 
|Itemname=zaxis
 
|Itemname=zaxis
|Itemsummary=
+
|Itemsummary=Cartesian axis X, Y, or Z.
 
|Itemlabel=Z
 
|Itemlabel=Z
 
|OPfamily=SOP
 
|OPfamily=SOP
Line 117: Line 119:
 
{{Menuitem
 
{{Menuitem
 
|Itemname=fnorm
 
|Itemname=fnorm
|Itemsummary=
+
|Itemsummary=Projection axis occurs along each face's normal. Thus, each face could potentially have a different projection direction than the others. The option also works well for non-planar faces.
 
|Itemlabel=Face Normal
 
|Itemlabel=Face Normal
 
|OPfamily=SOP
 
|OPfamily=SOP
Line 124: Line 126:
 
{{Menuitem
 
{{Menuitem
 
|Itemname=mindist
 
|Itemname=mindist
|Itemsummary=
+
|Itemsummary=Projects the entire 3D face along the vectors of minimum distance to the surface. The projection resolution is given by the <span class="tipTextSOP">Divisions per Span</span> value.
 
|Itemlabel=Minimum Distance
 
|Itemlabel=Minimum Distance
 
|OPfamily=SOP
 
|OPfamily=SOP
Line 131: Line 133:
 
{{Menuitem
 
{{Menuitem
 
|Itemname=other
 
|Itemname=other
|Itemsummary=
+
|Itemsummary=Enables the <span class="tipTextSOP">Vector</span> fields immediately below to specify the X, Y, and Z components of the vector.
 
|Itemlabel=User Defined:
 
|Itemlabel=User Defined:
 
|OPfamily=SOP
 
|OPfamily=SOP
Line 140: Line 142:
 
|OPtype=project
 
|OPtype=project
 
|OPfamily=SOP
 
|OPfamily=SOP
|Parsummary=
+
|Parsummary=The axis along which the four corners of the feature are projected onto the base. When adding the feature from the outside as a Vector paste.
 
|Parorder=0
 
|Parorder=0
 
|Parname=axis
 
|Parname=axis

Revision as of 10:35, 14 September 2017

  • Invalid title: ""

Summary
[edit]

The Project SOP creates curves on surface (also known as trim or profile curves) by projecting a 3D face onto a spline surface, much like a light casts a 2D shadow onto a 3D surface. There are two projection methods: along a vector, or by mapping the face directly onto the parametric space of the surface.

You will usually need a Trim SOP, Bridge SOP, or Profile SOP after a Project SOP. For example, in the case of a Trim SOP we might have:

TouchGeometry146.gif

Use a Trim SOP to cut a hole in the projected surface (as shown above).

Use a Bridge SOP to skin the profile curve to another profile curve.

Use a Profile SOP to extract the curve on surface or remap its position.

If you end up with a profile curve that is not visible, it may still exist. Confirm a profile curve's existence by clicking on the SOP's info pop-up (using middle-mouse button).

Additional Operations for Profile Curves

To delete a projected curve, use a Delete SOP, and enter the profile number (e.g. 1.4 returns the fifth profile on the second primitive (counting starts at 0) ). You can visualise the number of the profiles by enabling the Profile Number icon in the Viewport Display options.

You can group the profile curves with a Group SOP. Do this by typing the profile numbers in the Pattern field. You can use all regular expressions.

You can apply parametric affine transformations to the profile by using a Primitive SOP. You can also use the Primitive SOP to open, close, reverse, and cycle the profile curves.

Note: When applying transformations to a profile in the Primitive SOP, you can only rotate about the Z axis because the projected curve is a planar curve that lives in the domain of the surface. Therefore it wouldn't make any sense to allow rotations in X or Y for profiles.

PythonIcon.png[[{{{opClass}}}]]

Template:ParMiniMenu Template:ParMiniMenu Template:ParMenu

Parameters - Page

Template:ParMenu Template:ParFloat Template:ParMenu Template:ParInteger Template:ParFloat Template:ParFloat Template:ParFloat Template:ParInteger Template:ParToggle Template:ParToggle


Parameters - Page

Template:ParMenu Template:ParMenu Template:ParToggle Template:ParFloat Template:ParFloat Template:ParMenu

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