amitoz
amitoz

Reputation: 323

How to change the RGB values of selected vertex in meshlab?

I have loaded a textured pointcloud and I would like to put seeds (or call it labels ) of different colors (red, green) in the pointcloud. How to do this is meshlab? I know that in meshlab I can select vertex clusters, but how to assign a color value those selected points?

Upvotes: 0

Views: 1983

Answers (1)

Rockcat
Rockcat

Reputation: 3240

Each vertex has a parameter vsel that is equal to 1 if the vertex is selected, so you can use the filter "Per vertex Color Function" and write and expression that uses vsel, for example:

r = 255 
g = 255 * vsel
b = 255 * vsel

Upvotes: 1

Related Questions