Hello all, I've been working on this setup for camera-space object silhouettes that will be used to conform/cull objects outside of them.
While my setup is functional, it is sluggish...despite me trying to be quite performance conscious.
I've prepared a simple example scene for you all to show where I'm at. The main sticking points here are Triangulate2D (slow, but faster than any alternative I've tried), and the group from bounding object (not too bad in the example file, but terrible with more complex silhouettes).
I'd also love some help with conforming the points outside the silhouette back into it– the file I attached just does a simple minpos() to the silhouette because it's hard to do better without sacrificing performance. As a result, it fails when limbs get close together or if the geo to be conformed is too low-res.
Hopefully that all makes sense!
silhouette_setup.hip