polyscope icon indicating copy to clipboard operation
polyscope copied to clipboard

Coloring individual elements of a quantity/mesh

Open avaxman opened this issue 1 year ago • 2 comments

I would like to be able to either color only specific elements of a quantity/mesh, or alternatively, to be able to override the colors, but be able to supply individual colors per element. Specifically, I would like to reproduce the behaviour in Tutorial 201 in Directional:

https://avaxman.github.io/Directional/tutorial/#201-principal-matching

Where only several vectors are colored.

avaxman avatar Apr 08 '24 06:04 avaxman

Related to this. I'd also find very convenient to have colored point-clouds (as in different colors per point).

byfron avatar Apr 12 '24 16:04 byfron

Actually nevermind. I was looking through the code to see if I could add point-cloud coloring myself and I found that the feature is already there. "point_cloud.add_color_quantity" admits an array of colors as input

byfron avatar Apr 13 '24 19:04 byfron