Is there a way to access random source groups in the scatter node?

   2484   2   1
User Avatar
Member
5 posts
Joined: May 2016
Offline
Hey guys. What I am attempting to do is break some geo into chunks using a voronoifracture. Then I want to take the groups that are output from this and randomly distribute them through a copy sop. I can chose a source group at the top of the copy node but that gives me the same group selection at every point. Is there a way to do this with copy stamping? or is there another way I have missed?

Thanks.

Attachments:
copyProblem.hiplc (135.0 KB)

User Avatar
Member
2548 posts
Joined: June 2008
Offline
Under the Vornoi Fracture node make sure you generate groups and type the piece prefix to be the word “piece”.

Then in your Copy network use an ObjectMerge to bring in all the pieces. Follow that up with a Delete node set to delete non-selected. Inside the group field of the delete use a stamp on the group name to select one of the pieces from the group.
piece`stamp("../copy1","rnd_index",0)`
This video shows how to create this setup around 16 minutes into it.
https://vimeo.com/146794995 [vimeo.com]
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
5 posts
Joined: May 2016
Offline
Perfect thank you!

Attachments:
Screen Shot 2016-07-14 at 11.42.10 am.png (275.4 KB)

  • Quick Links