rurik Posted March 1, 2011 Share Posted March 1, 2011 Hello Trying to understand based on the help card, but having a hard time...What is the difference between the Partition SOP and the Group SOP? It seems like the main feature of Partition is that it allows to create rules, but isn't can't you do that with Group too? Thanks! Alex Quote Link to comment Share on other sites More sharing options...
Matt_K Posted March 1, 2011 Share Posted March 1, 2011 (edited) Hey Alex, The Partition SOP is kinda like a foreach for groups - it will loop over your input and spew out groups based on your rules. So it's a nifty way of very quickly setting up groups which can be a massive time saver. For example, if you have geometry that has a colour attribute on either your points or prims, the partition SOP can create a group for each colour on your geo. This can be especially handy when fracturing geo, or when working with large meshes coming from other packages that need to be modified. Hope that helps! Matt. Edited March 1, 2011 by Matt_K Quote Link to comment Share on other sites More sharing options...
Darric Posted March 1, 2011 Share Posted March 1, 2011 Ah, the good old Connectivity -> Partition two-hit combo. Hits for massive damage. Quote Link to comment Share on other sites More sharing options...
rurik Posted March 1, 2011 Author Share Posted March 1, 2011 Aha, so kind of like a live sourcing of group data? Updating the group on each frame? Or am I missing something? What would be a good example of the usefulness of this? Thanks! Alex Quote Link to comment Share on other sites More sharing options...
old school Posted March 1, 2011 Share Posted March 1, 2011 Partition SOP is an efficient way to build many groups from attributes. The regular Group SOP can only build max 2 groups. One in the Create tab and one in the Combine tab. You need to wrap the Group SOP in to a ForEach SOP to get the same functionality as the Partition SOP. Where do I use Partition SOP? - Creating connectivity based groups procedurally from imported models after a Connectivity SOP. - Creating multiple groups from particle attributes after a simulation. - Mimicking the Group POP's ability to create random point groups. foo_`int($PT%10)` Quote Link to comment Share on other sites More sharing options...
Yassine Posted October 1, 2011 Share Posted October 1, 2011 Hi, Using the Partition SOP to create random/multiple point groups works really well for me, but I'm actually struggling wrapping the Group SOP into a ForEach SOP, just to test what kind of selection control I could achieve. How would it actually work? Thanks, Y Quote Link to comment Share on other sites More sharing options...
gaurav Posted October 1, 2011 Share Posted October 1, 2011 Hi, I think it depends on what kind of selection group one wants to have. Attaching two very simple cases out of many possibilities, Just for basic functionality inside foreach. Cheers!! Quote Link to comment Share on other sites More sharing options...
gaurav Posted October 1, 2011 Share Posted October 1, 2011 Hi, I think it depends on what kind of selection group one wants to have. Attaching two very simple cases out of many possibilities, Just for basic functionality inside foreach. Cheers!! Ah.. foreachGRP.hipnc Quote Link to comment Share on other sites More sharing options...
Yassine Posted October 1, 2011 Share Posted October 1, 2011 Thanks Vectorblur, It will definitely help me better understanding the use of the ForEach SOP for selection purposes. Y Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.