How to find overlapping prims for every prim?

   3755   1   0
User Avatar
Member
118 posts
Joined: 2月 2016
オフライン
I'd like to have an array integer attribute for every prim that stores the prim numbers of the overlapping/intersecting prims.




Is there any vex functions or sop node that does that?
In case not, how would you approach the problem?

I've no clues at all..
Thanks
User Avatar
Member
5055 posts
Joined: 2月 2012
オフライン
1. Create a unique integer attribute per primitive
2. Scatter points onto prims inheriting this attribute
3. Fire rays and gather non-negative results into an array and store this as an array attribute on the primitives
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
  • Quick Links