Object groups randomly copied to scattered points ?

   192   1   0
User Avatar
1 posts
Joined: Jan. 2018
Hi I have an imported alembic file that I have an assemble sop added to which gives me its groups,
My question is how do I copy the object groups randomly to a point scattered.

Andy Czilok
User Avatar
553 posts
Joined: Dec. 2006
Take a look at the foreach loop example here:

https://www.sidefx.com/docs/houdini/copy/tutorial_stamping.html [www.sidefx.com]

Once you have wrapped your head around that….

Use a switch as the first input to the copy SOP. Into that, plus as many delete nodes as there are groups in your geo, with each delete deleting all but one group each. Into that del node you would have the original output you described above.

Now use the techniques described in the tut to randomly choose a different index in the switch SOP.

Sean Lewkiw
Lost Boys Montreal
  • Quick Links