CinnamonMetal Posted June 17, 2019 Share Posted June 17, 2019 (edited) I want to kill any particles from going past this hole. I was thinking of finding the bounding box of the geometry but how do I find the area of the hole as to tell the particles to die when they hit the hole and or go outside of the hole with grains ? Edited June 17, 2019 by CinnamonMetal Quote Link to comment Share on other sites More sharing options...
nuki Posted June 17, 2019 Share Posted June 17, 2019 In your case, couldnt you just kill them if they hit a P.y threshold? Otherwise you could create an sdf for the hole and kill them inside a sopsolver if the volumesample() of the particles P is < 0 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted June 18, 2019 Author Share Posted June 18, 2019 @nuki Create a group of the points of the hole, then create a VolumeSDF SOP of the geometry group, then in a wrangler use the volumesample() function; correct ? Quote Link to comment Share on other sites More sharing options...
Sepu Posted June 18, 2019 Share Posted June 18, 2019 Just use a @P.y threshold as Martin said before, is more straight forward. Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted June 18, 2019 Author Share Posted June 18, 2019 I'm rusty with volumes but I do want to know the steps to create an SDF of the hole ? Quote Link to comment Share on other sites More sharing options...
nuki Posted June 18, 2019 Share Posted June 18, 2019 You have to make a watertight mesh that fits the hole like a plug. If you used a polyextrude, let it output the Sides Group, isolate those faces and polyfill that. Then create a vdbfrompoly, like in the attached file sdf.hiplc 1 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.