| On this page | |
| Since | 21.0 |
入力ジオメトリは、よりシンプルなコントロールラティスが restgeo 位置から deformedgeo 位置に変形するのと同じ方法で変形されます。 入力ジオメトリの変形は、Rest(静止)ラティス内の入力ジオメトリの相対位置を求めて、そのポイントを変形後のラティス内のそれと同じ相対位置に移動させることで、計算されます。 falloff ポートは、ポイントが変形されなくなるそのラティス境界から離れた距離を制御します。 そのラティス境界上のポイントは、変形後の位置を使用し、そこから falloff だけ離れたポイントは入力位置を使用します。 その2つの間にあるポイントは線形補間されます。
Note
コントロールラティスには、Bound SOPによって生成された特定のトポロジが必要です。
Bound SOPの Divisions パラメータの値は、 divsx 、 divsy 、 divsz 入力ポートに使用される値と同じです。
Rest(静止)ラティスの分割は等間隔でなければなりません。
このノードの geo ポートはインプレースポートのため、ジオメトリはコピーを作成することなく更新されます。
ラティスのタイプ ¶
interptype |
ラティスのタイプ |
|---|---|
0 |
Linear Lattice The input points are deformed linearly by the lattice.
|
1 |
Bezier Lattice The input points are deformed by a weighted combination of all the lattice points. The lattice points near the input point have more influence on the deformed shape.
|
2 |
NURBS Lattice The input points are deformed by a weighted combination of a subset of points in each lattice direction. The number of points that contribute to the lattice’s deformed shape is determined by the ordx, ordy, and ordz port values. For example, if ordx is 3, then 3 yz-planes of lattice points are used when deforming the input point. When the order of the lattice is low, the input geometry deformation closely follows the lattice deformation. As the order increases, the resulting deformation is smoother but has a tendency to drift further away from the control lattice.
|
入力 ¶
*geo:
Geometry
Required
コントロールラティスを形状変更することで変形する入力ジオメトリ。
restgeo:
Geometry
コントロールラティスの静止形状。
deformedgeo:
Geometry
コントロールラティスの変形された形状。
divsx:
Int
コントロールラティスのX方向の分割数。
これは、ラティスを作成するために使用されるBound SOPの Division パラメータのXコンポーネントと同じである必要があります。
divsy:
Int
コントロールラティスのY方向の分割数。これは、ラティスを作成するために使用されるBound SOPの Division パラメータのYコンポーネントと同じである必要があります。
divsz:
Int
コントロールラティスのZ方向の分割数。これは、ラティスを作成するために使用されるBound SOPの Division パラメータのZコンポーネントと同じである必要があります。
ordx:
Int
When interptype is set to 2 (NURBS Lattice), this is the number of points that influence the lattice deformation in the x-direction. Lower values produce deformed points that more closely follow the deformed lattice’s position, while higher values produce a smoother deformation. The minimum order is 2 (linear basis) and the maximum order is 11. The default value is 3.
ordy:
Int
When interptype is set to 2 (NURBS Lattice), this is the number of points that influence the lattice deformation in the y-direction. Lower values produce deformed points that more closely follow the deformed lattice’s position, while higher values produce a smoother deformation. The minimum order is 2 (linear basis) and the maximum order is 11. The default value is 3.
ordz:
Int
When interptype is set to 2 (NURBS Lattice), this is the number of points that influence the lattice deformation in the z-direction. Lower values produce deformed points that more closely follow the deformed lattice’s position, while higher values produce a smoother deformation. The minimum order is 2 (linear basis) and the maximum order is 11. The default value is 3.
falloff:
Float
Controls the distance beyond the rest lattice at which points continue to be partially deformed. This allows for some wiggle room for points that slide in and out of the rest lattice due to numerical rounding errors or other small deformations. If this value is negative, the points are always deformed regardless of their distance beyond the rest lattice. The default is 0.0001.
group:
String
ラティスによって変形されるポイントを決定する入力ジオメトリのポイントグループ。
interptype:
Int
コントロールラティスの形状に基づいて入力ジオメトリを変形するのに使用される補間方法。 ラティスのタイプを参照してください。 デフォルトは2(NURBS Lattice)です。
updatenmls:
Bool
Trueに設定されている場合、ジオメトリのポイントまたは頂点法線を再計算します。 デフォルトはTrueです。
出力 ¶
*geo:
Geometry
変形されたジオメトリ。