Setup Velocity Blend constraint
2022-08-06 #Blog #VellumResearch
https://gyazo.com/897a3e5073c39f9276ed816bbff37260
Houdini 18.0 で登場した Velocity Blend 用の Constraint の Setup
Collision Geometry など 外部の Geometry のもつ v@v を元に Blending を行う機能
これにより激しい動きに追従する際に布の暴れを抑えるような設定が可能
Repository
vellum-research/velocity-blend at main · minami110/vellum-research
Velocity Blend
https://gyazo.com/2e7c2f78f7f6b930bc14d52e58d6fcd4
Constraints that attach to geometry or pin to the target can optionally blend in the target’s velocity. This requires the target to have a v point attribute to provide the local velocity. The blending is done per 24th of a second, so a blend factor of 0.5 will mix in 50% of the target velocity in a standard frame.
Vellum Constraints
Vellum Constraints SOP.iconVellum Constraints SOP にある Parameter, Attach to Geometry あるいは Pin to Target (Pin Type: Soft) に設定されているときに出現する
s@type は attach あるいは pin
f@velblend prim attribute を Constraint Geometry に設定する
ここでの数値は [0, 1] の間でBlend 割合を指定する
Setup
https://gyazo.com/bafad06e76cf315a3b8e8391c3f4a0c6
Basic Setup 部分は普通の Vellum Constraint のセットアップを行う
Velocity Blend Setup 部分で専用の Constraint Geometry を生成する
Target となる Collision Geometry には Point Velocity SOP.iconPoint Velocity SOP で v@v を生成する
https://gyazo.com/7dee769e86ea7e79c18b785791728970
Velocity Blend 用の Attach Constraint の設定
Velocity Blend を適用したい Point を選択する
基本的に 布全てに適用して問題ないので すべてのPoint を対象とする
Basic Setup の Attach to Geometry では対象を取ることがおおいので, 独立して作成するのがよい
Strech 内の Stiffness を 0 とする
本来の Attach to Geometry Constraint の影響を無効化して, 単に Velocity Blend 用の拘束を作成する場合にはこのような設定にする
Strech 内の Velocity Blend を有効化する
比較
https://gyazo.com/897a3e5073c39f9276ed816bbff37260
Refs
Quick moving cloth
H18 Vellum Cloth Updates | Jeff Lait | Masterclass - YouTube
Houdini 18 Character Effects セミナー Part2:Vellum Cloth Resolution IndependenceとVelocity Blendingツール - YouTube
See also
Draft: Setup Vellum Reference Frame SOP