LABS Tree Generator - remove intersecting leaves

   533   1   1
User Avatar
Member
1 posts
Joined: 7月 2025
Offline
Hi all, I've managed to get the "Boolean Intersect" SOP to remove a single leaf intersecting a sphere, with a following delete node to remove AInsideB and AOutsideB output groups. However, running it with the output from LABS Leaf Generator just removes all the leaves in the scene. Is there a way to separate the Leaf Generator output into distinct individual leaf polygon clusters that can be worked on independently in a for loop? I did try "Labs Connectivity and Segmentation" but couldn't get it to work. I'm very new to Houdini so am probably missing something simple. I've spent a few hours searching the web for solution, but no joy so far. Thanks in advance.
User Avatar
スタッフ
6 posts
Joined: 10月 2021
Online
Hello!

You can drop down a For-Each Connected Piece after the tree setup, and for Primitive Include Group on the Connectivity SOP, select leaf. This will allow you to process each leaf one at a time in the loop.

But what are you trying to accomplish? Maybe there's a better way. Do you just want the leaves deleted that intersect a sphere?
  • Quick Links