目录
约束类型
Distance Along Edges(distance)
Bend Across Triangles(bend)
Cloth(distance、bend)
Hair(stretchshear、bendtwist)
String(distance、angle)
Pin to Target(pin、pinorient)
Attach to Geometry(attach)
Stitch(stitch/ptprim)
Weld Points(weld)
Glue(stitch)
Pressure(pressure)
Struts(distance)
Tetrahedral Volume(tetvolume)
Tetrahedral Fiber(tetfiber)
Tetrahedral Stretch(tetarap)
Triangle Stretch(triarap)
Shape Match(shapematch)
从输入的几何体上,创建约束;
所有材质类型(如布料、毛发、柔体等),都可被描述为一组点间的显式约束;Geometry、Constraint Geometry是一对一对应的关系;此节点可生成几乎所有的约束类型,提供了常见的约束类型预设;
四面体tetrahedral约束类型(tetrahedral stretch/volume/fiber),现在不受mesh的密度、质量、大小等其他参数的变化影响,即不同的约束类型,参数不必跟着变化,效果是类似的;
约束类型
Distance Along Edges(distance)
- 将每条边转化为距离约束distance,以维持长度;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
Bend Across Triangles(bend)
- 为每对三角形创建弯曲约束bend,以维持角度;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig
- stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
Cloth(distance、bend)
- 创建距离约束distance/triarap,弯曲约束bend;
- soft pin时,创建约束pin;
Geometry
- mass、pscale、v
- dragnormal、dragtangent
- stopped、gluetoanimation
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig,restvector、matchanimation
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
Hair(stretchshear、bendtwist)
- 创建距离约束stretchshear,弯曲约束bendtwist(包括边的扭曲);
- soft pin时,创建约束pin、pinorient;
- 可breaking;
Geometry
- mass、pscale、v
- dragnormal、dragtangent
- w、orient、inertia
- stopped、pintoanimation/gluetoanimation
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig,restvector、matchanimation
- stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
String(distance、angle)
- 创建距离约束distance,弯曲约束angle,无扭曲约束边可自由旋转,是轻量级的hair约束;
- soft pin时,创建约束pin;
Geometry
- mass、pscale、v
- dragnormal、dragtangent
- stopped、gluetoanimation
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig,restvector、matchanimation
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
Pin to Target(pin、pinorient)
- 固定指定的点到目标对应点,可在解算器内指定目标;
- 创建约束pin、pinorient;
- 对于hair,stopped的值可能是1或3;
- 可breaking;
Geometry
- mass、pscale、v
- stopped、pintoanimation/gluetoanimation
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig,restvector、matchanimation
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
breakthreshold、breaktype
Attach to Geometry(attach)
- 附着指定的点到几何体,创建距离约束attach、attachnormal;
- 可breaking;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig、restvector
- target_path、target_prim、target_uv,restdir,target_group,slidingrate,velblend
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
breakthreshold、breaktype
Stitch(stitch/ptprim)
- 缝合点,创建距离约束stitch/ptprim;
- 可breaking;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig、restvector
- target_group、slidingrate
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
breakthreshold、breaktype
Weld Points(weld)
- 焊接点,本身不是约束,使用weld属性使接缝点逻辑上视为一个点;另外,还会创建弯曲约束bend;
- 可breaking;
Geometry
- mass、pscale、v,weld
- breakthreshold、breaktype
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig
- stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
Glue(stitch)
- 搜索周围非自身的点,将构建距离约束stitch,以保持在该点粘连;
- 可breaking;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
breakthreshold、breaktype
Pressure(pressure)
- 创建约束pressure,以维持体积,像气球一样挤压一边另一边就会膨胀;
- 点属性pressurescale可缩放此约束效果,谨慎使用于充气效果(可能会导致不平衡);
- 可breaking;
Geometry
- mass、pscale、v、volume
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig、restvector
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
breakthreshold、breaktype
Struts(distance)
- 每个点搜索自身一定直线距离的点,构建距离约束distance,类似内部支柱;
- 点属性pressurescale可缩放此约束效果,谨慎使用于充气效果(可能会导致不平衡);
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
Tetrahedral Volume(tetvolume)
- 将每个四面体转化为约束tetvolume,以维持四面体的体积;
- 不包含任何的shear、stretch约束,需添加额外的距离约束以构建合适的柔体;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig
- compressstiffness、stiffnessdropoff/stiffnessdropoffmin
plasticthreshold、plasticrate、plastichardening
Tetrahedral Fiber(tetfiber)
- 将每个四面体转化为约束,沿materialW点属性指定的方向展开(如无此属性则为{0,0,1});
- 约束tetfiber/tetfibernorm;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig、restvector
Tetrahedral Stretch(tetarap)
- 将每个四面体转化为约束,以维持四面体的ARAP(根据指定的刚性移除任何的拉伸或倾斜);如preserve volume,约束还会保持体积;
- 约束tetarapnl/tetarap/tetarapnorm、tetarapnlvol/tetarapvol/tetarapnormvol;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig、restmatrix、restvector
- compressstiffness
plasticthreshold、plasticrate、plastichardening
Triangle Stretch(triarap)
- 将每个三角形转化为约束,以维持四面体的ARAP(根据指定的刚性移除任何的拉伸或倾斜);如preserve volume,约束还会保持体积;
- 约束triarapnl/triarap/triarapnorm;
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig、restvector
- compressstiffness
plasticthreshold、plasticrate、plastichardening
Shape Match(shapematch)
- 创建可以将点拉回原始形态的约束shapematch,可用于在现有的约束(如cloth)之上添加刚度,或单独创建与其他vellum对象交互的刚性对象;
- 此约束最好与Mass设置为calculate uniform,及一致的尺寸大小(remesh)一起使用;
- 有效的工作流是使用vellum transform pieces节点变换原始模型,还可避免任何小的变形(如在碰撞点或pin处约束失败);
Geometry
- mass、pscale、v
Constraint Geometry
- dampingratio、stiffness、type
- restlength、restlengthorig、restvector
- plasticthreshold、plasticrate、plastichardening