jyh126 Posted June 6, 2018 Share Posted June 6, 2018 Hi all, Do you know how to remove tiny water drops in fluid simulation? As you can see below, there are many water drops in the air and these are looks weird. I wanna kill that particles, but I don't know what I use among the various attributes. I tried remove points by vector speed, but it's not good result. Is there any way to kill the particles? or should I remove them manually by @ID? or should I simulate until particles looks good? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
bunker Posted June 6, 2018 Share Posted June 6, 2018 You can filter out lone points before meshing using pcopen+pcnumfound vex functions: // eg: search for 30 points within a radius, if less are found they are on their own, delete them. int handle = pcopen(0,"P",@P,chf("radius"),chi("maxpoints")); if(pcnumfound(handle)<chi("maxpoints")){ removepoint(0,@ptnum); } // same in shorter form //if(pcnumfound(pcopen(0,"P",@P,chf("radius"),chi("maxpoints")))<chi("maxpoints"))removepoint(0,@ptnum); filter_lone_points_bunker_01.hipnc Quote Link to comment Share on other sites More sharing options...
jyh126 Posted June 16, 2018 Author Share Posted June 16, 2018 hey, Thanks so much! I really appreciate your help. It works very well!! 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.