gpapaioa Posted December 8, 2016 Share Posted December 8, 2016 Hello everyone, I am trying to achieve a similar effect likes this by Ivan: On the sidefx forums, Ivan mentions that he creates two fields, one to attract the particles and one to keep the particles on the surface. I managed to create the force field to attract the particles but i cant find a way to create a field to keep the particles inside the geometry and form the shape. Any tips or help is highly appreciated. 1 Quote Link to comment Share on other sites More sharing options...
msyugo Posted December 9, 2016 Share Posted December 9, 2016 Hey, Not much thought put into this at the moment, but would imagine you could use both the volume gradient and the volume sample to create both fields. Gradient will give you the direction, and the sample will let you know where are the particles. Negative values would represent inside your geo, positive outside. Zero value represents the positions directly on the surface. (This is for VDBs) Hope it helps M 1 Quote Link to comment Share on other sites More sharing options...
gpapaioa Posted December 9, 2016 Author Share Posted December 9, 2016 Thanx M. I managed to achieve something by using POP nodes. I make a bound object using the geometry and when particles are passing through, I group them and use a POP wrangle to zero their velocity. I understand the SDF concept with 0s and minus, my lack of knowledge is how can I use this information with the FLIP solver and tell the particles to stay on the surface and stick to it. 1 Quote Link to comment Share on other sites More sharing options...
stevegh Posted December 9, 2016 Share Posted December 9, 2016 You can do it with POPs but using the volume gradient is the way to go. flipAttract.hip 3 Quote Link to comment Share on other sites More sharing options...
Atom Posted December 9, 2016 Share Posted December 9, 2016 Thanks Stephen, that is a nice setup. Here is my extension to your file with a morphable input. The fluid morphs between 3 font nodes. (X O +). You can control the morph timing by animating the SDF Blend value on the three shapes. ap_flipAttract.hipnc 4 Quote Link to comment Share on other sites More sharing options...
s---70 Posted December 10, 2016 Share Posted December 10, 2016 I made a tutorial that might be helpful to you some time ago: 4 Quote Link to comment Share on other sites More sharing options...
gpapaioa Posted December 11, 2016 Author Share Posted December 11, 2016 Thank you all for the feedback and valuable information. 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.