how to create group by color

   30189   5   2
User Avatar
Member
104 posts
Joined: March 2008
Offline
Hi I would like to ask how to create group in SOP cording to Color Attribute, i am newbie , thanks for kindly help.

what node and how i search in the help context with keyword “group color” but didnt find the information i want.


Thank you very much.

Attachments:
bone.jpg (33.7 KB)

User Avatar
Member
1145 posts
Joined: July 2005
Offline
Group by expression,

something like $CG>0.8
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
Member
242 posts
Joined: Jan. 2008
Offline
You can use the partition SOP to group by attributes.
I think it has a preset for grouping by color.

http://www.sidefx.com/docs/houdini10.0/nodes/sop/partition [sidefx.com]
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
If you like to put down a bunch of group SOPs manually which is quite error prone. Works for one or two groups based on an attribute. Not for what you want.

A better method is to use the Partition SOP. It even has an option “Group by Color” in the Rule parameter's right hand arrow menu button. Choose that option and you will have a group for each unique color.
There's at least one school like the old school!
User Avatar
Member
617 posts
Joined: Aug. 2008
Offline
partition and assemble sop.

like if you wanted to crack something.
User Avatar
Member
104 posts
Joined: March 2008
Offline
thanks , i am using partition SOP for what i need, thanks for everyone
  • Quick Links