Jump to content

Keep particles inside an volume


Krion

Recommended Posts

Hi guys,

 

I've started learning particles and I now these particles beautifully advected by a curl noise. I like that it stays kinda within the same source shape by the curl noise.

5decd7f2f2048_nicecurlmotion3.gif.3901cacc99c4bfe2d428cf882b09d93b.gif

But when I want to prevent the particles from flocking together with a POP interact node, they move away from each other, but also move outside the shape..

 

So I tried to keep them inside the (peaked) shape with POP Attract and Field Force, but that didn't really work. And then I found this old odforce post talking about using sdf for that, but the example hips were too old to see what's going on.

So I was hoping maybe someone could enlighten me on how this SDF trick is done, or maybe any other for directing particles with geo. :) If you want, you can take a look at the hip: 

howToKeepInside.hipnc

 

Thanks in advance!

 

 

Screenshot 2019-12-08 at 12.11.57.png

Edited by Krion
Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...