The Curveclay SOP is similar to the Clay SOP in that you deform a spline surface not by modifying the CVs but by directly manipulating the surface. However, instead of using a point on the surface, you use one or more faces to deform that surface. Also, CurveClay does not yet support polygonal meshes.
The combination of inputs will determine the modes of transformation. For any combination of inputs, the following parameters modify the following behaviors of the SOP.
The combination of inputs determines the way the SOP deforms the surface. There are three valid combination types: 1 input, 2 inputs, and 3 inputs.
When only the surface is speciﬁed, it must contain at least one proﬁle in order for Curveclay to work. In this case, you must specify how the surface should be deformed in the region near the proﬁle (whether to deform the proﬁle along a vector [X, Y, Z or User Deﬁned], or along the surface normal). You must also specify how far out the surface should be pulled, using the Distance parameter.
When one or more proﬁles form a closed loop, you have the option to displace the inside of the loop, by enabling the option Deform Inside of Loop. Another option allows you to form a closed loop by using several open proﬁles. The algorithm is the same as the one used in the Trim SOP when not treating curves individually. This might be useful for putting a regular dent into a surface (e.g. A circle, or a font).
When the surface and a set of deforming faces is speciﬁed (the deformed faces are the third input) the proﬁles on the surface will be snapped to the deforming faces. This option has no additional inputs. This might be useful when you want to snap any proﬁle to any free ﬂoating curve.
When all three inputs are speciﬁed, the Rest faces will ﬁrst be projected to the surface. The projection is done in two ways: along a speciﬁc vector (X, Y, Z, or User Deﬁned) or along the Minimum Distance to the surface. Each point on the curve will ﬁrst be projected to the surface. Then this curve will not be snapped to the deforming face. Rather, the curve will be deformed by the difference between the rest face and the deforming face. This option provides ﬂexibility on all inputs. For example, this would be ideal for creating random mountain ranges.
/facegroup - Subset of faces (NURBS, Bézier, Polygons) to project, or subset of proﬁles to deform, depending on how many inputs are connected.
Examples include: 0.5 1.2-3.9 5.*
This group can even take surfaces (possibly intermixed with profile curves) when the 2nd input is not present, indicating that all the surface’s proﬁles must be used.
Then, the example above becomes: 0.5 1.2-3.9 5
/surfacegroup - Subset of spline surfaces to be deformed when all three SOP inputs are connected.
Divisions on Face
/divs - The number of points to evaluate on the proﬁles or the faces. This SOP works by using a straight line approximation of the given curve to deform the surface. Thus, more segments are slower, but the result looks better. Fewer divisions need to be specified when deforming proﬁles and when the rest and deforming faces have an equal number of breakpoints.
/sharp - Speciﬁes the area around the face to deform. The larger the sharpness is, the smaller the deformation area around them (thus having a sharper pull on the surface.)
/refine - Usually, CurveClay automatically reﬁnes the surface. However, you may specify some degree of reﬁnement control. In general, the more reﬁned the surface is, the smoother the result. Better reﬁnement results in a denser surface. You should experiment with values between -1 and 1. When the value is negative, the SOP will ﬁrst reﬁne the surface to the same detail level as when reﬁnement is 0, and then it unreﬁnes it. The lower the value, the more unreﬁned it becomes.
Parameters - Projection Page
Controls curve projection. Enabled if all 3 inputs exist.
/projdir - Choice of several projection axes:
- X, Y, Z - Cartesian Axis - X, Y, or Z.
- Minimum Distance - Project curve points to their closest places on surface.
- User Defined - Enter Vector into the field below.
Parameters - Displacement Page
How to deform surface. Enabled if only 1 input exists.
/deformdir - Choice of several projection axes:
- Surface Normal - The proﬁles will be deformed along the surface normal.
- X, Y, Z - Cartesian axis - X, Y, or Z.
- User Defined - Enter the vector into the ﬁeld below.
/deformlen - Distance deformed along the vector.
/ - Check if the inside of closed loops should be deformed.
/ - Check if multiple curves form a closed loop.
When using CurveClay on a wrapped surface, here are some points to remember:
- You may want to use a higher number of divisions, since when going across the seam of the wrapped surface, straight line approximation would be turned off and more sample points may be needed.
- If you’re not going across the seam, then the reﬁnement of the surface is only local. However, when the deformation area of the surface gets near the seam, the reﬁnement is done over the whole surface. Do not be alarmed if the whole surface has been reﬁned.