Search - User list
Full Version: LABS Tree Generator - remove intersecting leaves
Root » Houdini for Realtime » LABS Tree Generator - remove intersecting leaves
astro_chris
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.
Danicka
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?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB