Permanent point deletion

   3106   1   0
User Avatar
Member
1 posts
Joined: Feb. 2016
Offline
Hello.
I just made a simple setup of fractured and glued object. Now I want to un-glue fragments that are virtually touched by a sphere. I'm using Group node to get glue points inside the geometry, then color it into white color (just to check if everything goes right) then delete points. But this method only involves points that are inside the geometry in current frame. Once the geometry moves further, gluing nodes are recovered. I attached gluing subnet and scene view. Would apprectiate any help. Thanks.
P.S. Changing group operation to "union with existing aint working

Attachments:
points.png (877.9 KB)

User Avatar
Member
2660 posts
Joined: June 2008
Offline
Don't use a DELETE node, use an Attribute Wrangle instead. Inside the Attribute Wrangle use the vex code like so…


if (@Cd.r == 1.0) {
// We detected white color.
removeprim (0,@primnum,1);
}

This way you are removing the primitive reference geometry, line and points all together.

Take a look at the removeprim function in the VEX documentation.
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
  • Quick Links