How to prune by primitive pattern and bounding box

   1955   1   2
User Avatar
Member
134 posts
Joined: Sept. 2021
Offline
Hi!

I have a bunch of scattered gravel from a USD in solaris. I would like to be able to prune some of it from the scene graph so I can replace it with some simulated gravel.



I noticed that the prune node has an option to prune by bounding box. However, there seem to be two challenges with this:
1. It's not pruning individual instances by the bounding box (only when the entire or partial bounding box of the `scattered_gravel` primitive is in the bounding box, then it prunes the entire thing
2. I can't figure out how to make it only prune from the scattered_gravel without also pruning other primitives (like the street).



I realize I can bring back the street by using an "exclude rule," but it'd be nice to say: only apply this prune to the gravel primitive instead of listing all the primitives that it shouldn't apply to. But if that's the only way to do it, I can make it work.


I'm I approaching this the right way? What am I missing?

Thanks!
Anson
Edited by AnsonSavage - Dec. 1, 2023 13:14:12

Attachments:
2023-12-01_11-08.png (3.5 MB)
2023-12-01_11-11.png (3.5 MB)

User Avatar
Member
543 posts
Joined: Nov. 2016
Offline
From your screenshot, I'm wondering if you scrolled down in the parameters, because just out of frame I believe "Prune Point Instances Individually" and "Prune Restrictions" are exactly what you're looking for.
Edited by Tanto - Dec. 1, 2023 14:15:01
  • Quick Links