
Disappear velocity info in geometry when convert particles to VDB.
パーティクルをVDBにコンバートするとPackされvelocityの情報がなくなるので
AttributeWrangleを使用し元のparticleやFLIP Fluid などからvelocityを入力。
何かのシェルフツールを実行すると出るやつなんだけど、シェルフポチポチしまくるのが
面倒くさくいのでメモ。
// Copy attributes from particles to surface
int handle;
handle = pcopen(@OpInput2, "P", @P, 1000, 1);
@v = pcfilter(handle, "v");
//@Cd = pcfilter(handle, "v");
pcclose(handle);
これに@v *= 0.8とかで調整してMotionBlurを見た目で調整したりした。
No comments:
Post a Comment