color by object

Feel free to ask any question here
Post Reply
foobarbecue
Posts: 16
Joined: Thu Mar 13, 2014 7:20 pm

color by object

Post by foobarbecue »

Is it possible to display individual point clouds in different colors? Would be very helpful to distinguish them during registration.

Thanks,
Aaron
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: color by object

Post by daniel »

Of course, just select each cloud and use "Edit > Colors > Set unique".
Daniel, CloudCompare admin
foobarbecue
Posts: 16
Joined: Thu Mar 13, 2014 7:20 pm

Re: color by object

Post by foobarbecue »

Perfect, thank you!
mkjackson
Posts: 2
Joined: Tue Mar 14, 2017 12:45 am

Re: color by object

Post by mkjackson »

I have the same question - I would like to color two point clouds different colors to distinguish them. However, I want to do this so I can edit and delete some outlier points, so I would like the color display to reversible, so that I can flip back and forth between the RGB color in the point cloud and a single fixed color. It seems the suggestion to "Edit > Colors > Set unique" is permanent. Is there a reversible way to do this?
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: color by object

Post by daniel »

I think the easiest way would be to add 'constant' scalar fields ('Edit > Scalar fields > add constant SF'). You can set both SFs with the same constant value. At first they will both appear in blue (as they have the same display settings) but then you can change the color scale used to display one of them so that they appear different.

And then you can easily switch between the (constant) SF and the original RGB colors with the 'colors' field of the cloud properties (or the 'S' and 'C' shortcuts)
Daniel, CloudCompare admin
mkjackson
Posts: 2
Joined: Tue Mar 14, 2017 12:45 am

Re: color by object

Post by mkjackson »

That works very well, thanks!
TMC
Posts: 9
Joined: Tue Mar 12, 2019 1:29 pm

Re: color by object

Post by TMC »

Is it possible to automate this process?
I have hundreds of objects I want to colorize (only for demonstration purposes).

Best TMC
Post Reply