rolfcoppter
Hey guys,

I'm wondering if there is a way to combining two or more group nodes together. I Have 2 group nodes that both already have an input component connection in their inputs. Is there a way to combine the out-components of each of these group nodes together?

Thank You,
Jordan
Quote 0 0
pshipkov
group1.outComponents -> group2.inComponents
setAttr group2.combine 1;
Quote 0 0
rolfcoppter
Hey peter,

The problem is I already have two group nodes that already have inComponents connected to them. How can I combine the outcomponents of two group nodes?

thank you,
Jordan
Quote 0 0
pshipkov
I don't have anything in place that can efficiently combine component lists.
One way is to fallback on pp attributes.
Assign vertex color or weight or just map data to the components of each group node.
Then use an arrayBlend node, arrayExpression, point, etc to get sum the two arrays.
Then pipe the result into a group.inWeightPP node - that will give you the unified components list.
Kind of ugly.

Will address this in a future release. It is important.
Quote 0 0
JeremyR
Good idea.
Quote 0 0
rolfcoppter
I found another way to combine group nodes. What I did was use a point node and put the out components into the in components of the point node then set weight to 1.
Pass the point node to a new group nodes in weight set it to weight map and then add the second groups out components to the new group nodes in components and do a union. Seems to work and be decently fast .
Quote 0 0

Add a Website Forum to your website.