Copy SOP and groups

   5395   8   1
User Avatar
Member
66 posts
Joined: July 2005
Offline
I'm trying to copy some geometry(say, pre-built floor of the building) with Copy SOP for further demolition with RBD, and ran into a problem with grouping: Copy SOP actually does not copies all the groups from the source for each copy, it just adds all the copied primitives into the same groups, making DOPs think, that, say, all the tables on all the floors is a single object, which is obviously not what i want.

Is there any way to copy all the groups together with geometry?
wbr, Mudvin
User Avatar
Member
345 posts
Joined:
Offline
Group elements by colour (prim attribute). After copySOP recreate groups with the partitionSOP - colour expression from the pull down menu.
User Avatar
Member
251 posts
Joined: Jan. 2008
Offline
Mudvin
I'm trying to copy some geometry(say, pre-built floor of the building) with Copy SOP for further demolition with RBD, and ran into a problem with grouping: Copy SOP actually does not copies all the groups from the source for each copy, it just adds all the copied primitives into the same groups, making DOPs think, that, say, all the tables on all the floors is a single object, which is obviously not what i want.

Is there any way to copy all the groups together with geometry?

Are you using the “Create output groups” or stamping?

Here are a few examples.

Attachments:
copyGroups.hipnc (53.8 KB)

User Avatar
Member
66 posts
Joined: July 2005
Offline
kuba: i think we will have the same problem here - dynamic solver gonna count equally colored objects on different floors as a single object.

mawi: thanks for examples, but i think single sphere not gonna work here. Imagine, there's merge of 4 sphere with different group names fed into copy sop, and somehow not only geometry, but also groups have to be copied by copy sop. Workaround is to recreate all those groups again in copy sop result, but the problem is that houdini counts the sides and caps of shattered pieces as a separate objects.

example scene attached.

Attachments:
break_test_c.hipnc (214.1 KB)

wbr, Mudvin
User Avatar
Member
678 posts
Joined: July 2005
Offline
Just by looking at your scene I think stamping is the solution (like in mavi's file) but maybe I misunderstood something. So in your example you will get 12 groups instead of 6.

Attachments:
break_test_c_107.hipnc (219.3 KB)

User Avatar
Member
66 posts
Joined: July 2005
Offline
swann: seems that your scene is exactly what i want, but i'm still don't understand how it works - help description for copy stamping is a bit vague.
wbr, Mudvin
User Avatar
Member
678 posts
Joined: July 2005
Offline
Thats a good start http://www.sidefx.com/index.php?option=com_content&task=view&id=881&Itemid=254 [sidefx.com].
User Avatar
Member
66 posts
Joined: July 2005
Offline
Ok, thanks for answers guys.
wbr, Mudvin
User Avatar
Member
1 posts
Joined: Aug. 2010
Offline
mawi
Mudvin
I'm trying to copy some geometry(say, pre-built floor of the building) with Copy SOP for further demolition with RBD, and ran into a problem with grouping: Copy SOP actually does not copies all the groups from the source for each copy, it just adds all the copied primitives into the same groups, making DOPs think, that, say, all the tables on all the floors is a single object, which is obviously not what i want.

Is there any way to copy all the groups together with geometry?

Are you using the “Create output groups” or stamping?

Here are a few examples.
thanks
Новости ралли на сайте wrc news [wrc-info.ru]
  • Quick Links