Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coloring individual elements of a quantity/mesh #270

Open
avaxman opened this issue Apr 8, 2024 · 2 comments
Open

Coloring individual elements of a quantity/mesh #270

avaxman opened this issue Apr 8, 2024 · 2 comments

Comments

@avaxman
Copy link

avaxman commented Apr 8, 2024

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.

@byfron
Copy link

byfron commented Apr 12, 2024

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

@byfron
Copy link

byfron commented Apr 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants