I want to assign random colors on a massive city block mesh from Maya.
I used “Connectivity” node and I can see now each building has a unique class IDs.
How can I assign three or four colors on each unique IDs randomly?
I Maya, I can separate mesh from a combined mesh, can I do something similar in Houdini?
I can select each building by “Group by expression” node. I used “@class == 1023” or “@class < 1000”
how can I use vex to randomly select a range of class IDs?
I tried to use “Group by range” node to select points, than expend selection to the entire building. I was able to create three sets of color on the city block mesh, but it doesn't feel randomly enough. Here I have a image to show you what I did in Maya, and I would like to get a similar result in Houdini.
Thanks for spending time and help me to look into this

