point grouping by distance to other group members
5540 5 0- sekow
- Member
- 238 posts
- Joined: Nov. 2013
- Offline
- edward
- Member
- 7750 posts
- Joined: July 2005
- Offline
- sekow
- Member
- 238 posts
- Joined: Nov. 2013
- Offline
Thanks Edward. That is plausible.
Ive changed the setup a bit, now the $PT (wrapped into clsCenterID attr) is transferred over. Works good. But I would like to have continuous order (0,1,2..,n) instead of the actual $PT (just to make it convenient).
Aaaand then I would need individual groups according to the clsCenterID.
Sorry I am new to Houdini and having some difficulties in how things work.
I am used to work in Softimage ICE, where I could switch contexts, build up helper arrays and look up attributes inside one graph.
Thanks in advance, help is much appreciated.
-Sebastian
Ive changed the setup a bit, now the $PT (wrapped into clsCenterID attr) is transferred over. Works good. But I would like to have continuous order (0,1,2..,n) instead of the actual $PT (just to make it convenient).
Aaaand then I would need individual groups according to the clsCenterID.
Sorry I am new to Houdini and having some difficulties in how things work.
I am used to work in Softimage ICE, where I could switch contexts, build up helper arrays and look up attributes inside one graph.
Thanks in advance, help is much appreciated.
-Sebastian
- sekow
- Member
- 238 posts
- Joined: Nov. 2013
- Offline
- edward
- Member
- 7750 posts
- Joined: July 2005
- Offline
Try appending a Partition SOP: Entity = Points, Rule = cluster$CLSCENTERID
This creates the appropriately named groups based on the value of $CLSCENTERID. Unfortunately, this also creates a group named cluster0 containing all the other points so you will have to append a Group SOP to delete it.
Is this what you're looking for?
This creates the appropriately named groups based on the value of $CLSCENTERID. Unfortunately, this also creates a group named cluster0 containing all the other points so you will have to append a Group SOP to delete it.
Is this what you're looking for?
- sekow
- Member
- 238 posts
- Joined: Nov. 2013
- Offline
-
- Quick Links