Register Latest Topics
 
 
 


Reply
  Author   Comment  
rolfcoppter

Wanting the recipes
Registered:
Posts: 63
Reply with quote  #1 
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
0
pshipkov

SOuP Jedi
Registered:
Posts: 4,711
Reply with quote  #2 
group1.outComponents -> group2.inComponents
setAttr group2.combine 1;
0
rolfcoppter

Wanting the recipes
Registered:
Posts: 63
Reply with quote  #3 
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
0
pshipkov

SOuP Jedi
Registered:
Posts: 4,711
Reply with quote  #4 
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.
0
JeremyR

Moderator
Registered:
Posts: 1,050
Reply with quote  #5 
Good idea.
0
rolfcoppter

Wanting the recipes
Registered:
Posts: 63
Reply with quote  #6 
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 .
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: