JFWfilms Posted February 1, 2020 Share Posted February 1, 2020 Hi, I'm trying to delete particles based on how many particles are in it's proximity using the pcfind VEX Expression. The idea is, to delete smaller droplets before they go into the whitewater source to prevent them from emitting whitewater. but after the wrangle node i get an error in the Whitewater source node? Thanks Quote Link to comment Share on other sites More sharing options...
Noobini Posted February 2, 2020 Share Posted February 2, 2020 doesn't exactly help if you don't upload your file AND hide your network. Here's my basic bare bones test...first time user...works. vu_whitewater_test.hiplc Quote Link to comment Share on other sites More sharing options...
JFWfilms Posted February 2, 2020 Author Share Posted February 2, 2020 4 hours ago, Noobini said: doesn't exactly help if you don't upload your file AND hide your network. Here's my basic bare bones test...first time user...works. vu_whitewater_test.hiplc Hi, thanks for the response! Sorry I didn't make it very clear. I basically want to delete the points before they are sourced into the whitewater source node. but that gives me the error. Josh Quote Link to comment Share on other sites More sharing options...
Noobini Posted February 2, 2020 Share Posted February 2, 2020 51 minutes ago, JFWfilms said: Hi, thanks for the response! Sorry I didn't make it very clear. I basically want to delete the points before they are sourced into the whitewater source node. but that gives me the error. Josh ah i see now...apologies. Quote Link to comment Share on other sites More sharing options...
animatrix Posted February 2, 2020 Share Posted February 2, 2020 Hi, You are missing the volumes (surface and vel) in your input that causes that error rather than the Attrib Wrangle. 1 Quote Link to comment Share on other sites More sharing options...
JFWfilms Posted February 2, 2020 Author Share Posted February 2, 2020 28 minutes ago, animatrix said: Hi, You are missing the volumes (surface and vel) in your input that causes that error rather than the Attrib Wrangle. Hi, ah yes thankyou! How doI source the volumes into the whitewater source after the wrangle? Quote Link to comment Share on other sites More sharing options...
animatrix Posted February 2, 2020 Share Posted February 2, 2020 5 hours ago, JFWfilms said: Hi, ah yes thankyou! How doI source the volumes into the whitewater source after the wrangle? If you use DOP Import Fields SPOP, make sure you also import vel and surface from your dopnet before caching the result. If you cached them separately, then just merge them into the same stream before whitewater source. 1 Quote Link to comment Share on other sites More sharing options...
JFWfilms Posted February 2, 2020 Author Share Posted February 2, 2020 1 hour ago, animatrix said: If you use DOP Import Fields SPOP, make sure you also import vel and surface from your dopnet before caching the result. If you cached them separately, then just merge them into the same stream before whitewater source. Sorry I'm confused xD I've cached out the sim which includes the vel and surface volumes. They are there in the object merge before the wrangle node, which is referring to the imported cache. But after the wrangle they disappear? Is there a way I can read the volumes from the cache and then merge them into the stream? I've attached my scene file. Thank you for your help I really appreciate it, sorry to be a pain. Josh WhaleSim_004.hipnc Quote Link to comment Share on other sites More sharing options...
animatrix Posted February 3, 2020 Share Posted February 3, 2020 That's because you also delete your volumes using the same wrangle. Volumes also have their own point, so if you want to preserve them just Split like using an adhoc group like this: @intrinsic:typename!=VDB Then merge back after the wrangle: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.