The Convert SOP converts geometry from one geometry type to another type. Types include polygon, mesh, Bezier patche, particle and sphere primitive.
Group - If there are input groups, specifying a group name in this field will cause this SOP to act only upon the group specified. Accepts patterns, as described in Pattern Matching.
From Type - Determines which geometry by type will be converted. The default is All Types:
- All Types - all geometry will be converted
- Bzier Curve
- Bzier Surface
- nurb Curve
- nurb surface
- Pasted Surface
Convert To - Determines what the above From Type geometry will be converted to. Conversion to Polygons is the default:
- Bzier Curve
- Bzier Surface
- NURBS Curve
- NURBS Surface
- Pasted Surface
- Trimmed NURBS Surface
- Trimmed Bezier Surface
Not all geometry can be converted to specific types. For example, a triangulated polygon surface to a single NURBS surface, or a Mesh sphere into a primitive sphere. Also, certain conversions will preserve shapes. For example, converting a Bzier curve to a NURBS curve or a polygonal mesh to a NURBS Surface.
Circle: Converting to primitive circles is available for action users who are used to working with polygon circles so that you can convert them to primitive circles for the Touch Skeleton, Arm, and Limb SOPs.
Trimmed Surface: If the primitive to be converted is a curve (NURBS or Bezier) and is flat, a trimmed surface will be generated such that the visible piece coincides with the curve. If the curve is not flat, it will be converted to a non-trimmed surface. The advantage of the trimmed solution is that it yields a very clean surface and handles concave curves perfectly.
Connectivity - This option is used to select the type of surface when converting to a NURBS or Bzier surface or a Mesh.
- Rows - Creates horizontal lines.
- Columns - Creates vertical lines.
- Rows & Cols - Both Rows and Columns. Looks like Quadrilaterals in wire frame display, but all polygons are open (if the primitive type is polygon).
- Triangles - Build the grid with Triangles.
- Quadrilaterals - Generates sides composed of quadrilaterals (default).
- Alternating Triangles - Generates triangles that are opposed; similar to the Triangles option.
Level of Detail / Divisions Per Span - This affects the use of the U/V/Trim Curve fields:
- For Level of Detail: U, V, Trim Curve Level of Detail
- For Divisions per Span: U, V, Number of Trim Curve Divisions.
In a spline's case, the span is the curve arc between two breakpoints. The number of divisions per span specifies how many points to be created between the two breakpoints. If the number of divisions = 0, a single segment will connect the two breakpoints; if number of divisions = 1, two edges will be created; etc. The advantage of Divisions over the Level of Detail is that it tells you exactly how many points you'll end up with - extremely useful for polygonal modeling.
U / V
/lodu /lodv - When set to Level of Detail, controls the number of points or CVs that are used in the newly generated geometry depending on the above setting. Converting a NURBS surface into a polygon mesh with a Level of Detail of 1 results in a fair approximation of the NURBS surface whereas a value of 2 generates a very dense polygonal mesh.
When set to Divisions per Span, specificies the number of divisions per span.
Tip: Animate the Level of Detail based on how close your character or geometry is to the camera by using the
primdist() expression. Then the detail will increase/decrease as the camera gets closer/further away.
Trim Curve - The trimmed part of a surface will be converted using this Trim lod (level of detail) instead of using an implicit "1" constant.
U / V Order
/orderu /orderv - When converting to a spline type, this specifies the degree + 1 of the U or V basis function.
- From Feature Surfaces - The resulting mesh will have the shape of the paste hierarchy (i.e. the top-most features will determine the shape).
- From Base Surface - The resulting mesh will take the shape of the bottom-most surface.
- From Feature Surfaces - Each mesh point has the attributes of the top-most feature at that location.
- From Base Surface - The resulting mesh will inherit the primitive attributes of the root surface (e.g. the material), and the point attributes will be those of the root surface as well.
By using base coordinates and feature attributes you are, in fact, pasting attributes onto the surface.
Preserve Original - When checked, the original geometry will be retained along with the converted geometry.
Interpolate Through Hulls - This option applies to the conversion between polygonal faces and grids to NURBS and Bzier surfaces and curves. When selected, the resulting curves retain the same topology as the original polygon. When not selected, the polygon points are used as a hull to define the new curve or surface.
Inputs / Geometry Types
This SOP accepts only one input, of any geometry type.
Note: When a primitive is converted, it retains the same primitive and group attributes as the original.
Uses / Works in Relation With
Certain tools work better on one geometry type than another. This SOP is good for converting one type of geometry to another for speed in animation.
Face to Surface Conversion - When converting from a set of polygons to a mesh, a single mesh will result only if Facet SOP.
Otherwise, each polygon is converted individually into a mesh. In fact, any individual face can be converted to any surface. This is accomplished by cutting the face into three or four adjacent sections, and then creating a patch from them.