Jump to content

Kill alone particle


Sebastian

Recommended Posts

This doesnt really delete alone particles but wen you mesh your particle fluid you got an option in the particle fluid surface node to exclude lone particles, maybe that is of help?

Otherwise i guess you could delete the particles based on the distance to closest neightboring particle.

Edited by Magnus Pettersson
  • Like 1
Link to comment
Share on other sites

http://www.sidefx.com/index.php?option=com...&Itemid=132

if you look at the last four videos, it shows how you can build a tool to manually select particles in the viewport and delete based on $ID.

You could also look at some of the particle fluid attributes. I think there's one called density... you might be able to delete based on that after the fact as well... it might be much more simple but may not offer the same level of art direction.

Link to comment
Share on other sites

Is there a node or a check to delete alone particles in a particle fluid simulation?

Yes, I just figured something out, but it's a bit of a hack.

1) Add a Particle Fluid Sink. It doesn't matter what you give it as a sink, we'll be ignoring it.

2) Find the sink node in the AutoDopNetwork, right click and select "Allow Editing of Contents"

3) Go inside it, and go into the "Particle Killer" POP Network.

4) As a completely separate branch (but still coming off the location1 node), add a Proximity POP followed by a Kill POP. Set the display flag to the Kill node (so that it totally ignores the existing tree). So it should go "location1---proximity1---kill1".

5) On the Proximity POP, select "Add Number in Proximity Attribute", and select the Proximity Radius to whatever threshold you want your particles filtered by.

6) In the Kill POP, type in "$NUMPROXIMITY<1"

That should do it :)

Edited by Andy Nicholas
Link to comment
Share on other sites

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...