Jump to content

Using a SOP Solver to delete points that will enter a group


vfxhound

Recommended Posts

Hi guys, a friend was asking if he had some moving points and for example there's a group by bounding box, so some points enter the group for a few frames. Is there a way to delete those points from the entire sequence? 

I was wondering the same thing myself, so I gave it a go using a SOP Solver. Check out the example file.

delete_red.hipnc

Link to comment
Share on other sites

so they already should be deleted in the first frame? based on them entering the bounding box later?

In your file, enable delete_red_points, the result at OUT_WITH_SOLVER is what you want to achieve?

 

if yeah, then point wrangle with
if(@P.y <= 1.3) {removepoint(0, @ptnum)}

1.3 is half the height of your bounding volume

use expression to make it procedural
 

 

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