How to make the group by the color range ?

   4456   2   1
User Avatar
Member
104 posts
Joined: March 2008
Offline
Hi all

how to make the group by the color range ?

for example i want the primitive group that the RedColor of RGB is in range 50 - 150
e.g : color_(50-100)_0_0
eg: color_(50-150)_(0-255)_(0-255)

I know I can sperate the color group with partition node, but after that i want to select the range by color group, how can i do that ?



thanks

Attachments:
question_of_group_RED.hipnc (48.9 KB)
COLOR_QUESTION.png (250.6 KB)

User Avatar
Member
8595 posts
Joined: July 2007
Online
in group sop you can set operation to Group by Expression and set expression like this:
($CR > .5) && ($CR < 1)

to get only points/primitives with red in range 0.5-1 for example
you don't need to use partition sop
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
104 posts
Joined: March 2008
Offline
Oh thank you very much
  • Quick Links