ForLoop Clip Planes

   2729   3   1
User Avatar
Member
1112 posts
Joined: Aug. 2008
Offline
I've setup a simple Voronoi Fracture on a Box, and then I want to “Clip” the inside geo slightly behind the outside Geo, so Delete the Inside, and feed the outside Polygons into a ForLoop to generate clip planes from, and then clipping the inside with that.
But it is late and I cant for the life of me figure out how to make this happen without getting more mesh then I want.

Example file and image attached.

Attachments:
Clip_Planes.hiplc (152.4 KB)
Clip_Planes.jpg (239.3 KB)

/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
Member
1112 posts
Joined: Aug. 2008
Offline
Got it working but had to use the old ForEach subnet, not sure at all how I would do this with the new ForLoops.

Now onto the next challenge, trying to bridge them togeather..again..which seems harder then I thought.

Attachments:
Clip_Planes2.hiplc (173.7 KB)
Clip_Planes2.jpg (28.1 KB)

/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
Member
818 posts
Joined: Sept. 2013
Offline
I think the SOP that you are looking for is the Knife SOP. So that you don't have to worry about clipping and bridging. And you want to configure the loop to be a feedback loop, and runs for each of the outside pieces. See the attached hip file.

The geometry comes out nicely for something simple like a box. However, if you have something more complex, like a torus, then you start getting lots of “unnecessary” cut. Maybe that can be avoided by limiting the knife group to primitives that are connected to the current outside primitive?

Attachments:
Clip_Planes3.hiplc (158.5 KB)

Andrew / アンドリュー
User Avatar
Member
1112 posts
Joined: Aug. 2008
Offline
Oh so thats how you set it up with the new ForLoop nodes

Not sure what the difference between Knife SOP and Clip SOP is because you can keep both Above and Below plane with the Clip SOP right ? I tried doing a similar setup with Clip SOP but also came to the conclusion that with a Torus or similar more “advanced” geo that it might en up with alot of cut's.

Not sure if the limiting would help but defently worth looking into.

Thanks alot for looking into !
/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
  • Quick Links