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

ambiguous color setup for a single tetrahedron #23

Open
BinWang0213 opened this issue Sep 8, 2020 · 0 comments
Open

ambiguous color setup for a single tetrahedron #23

BinWang0213 opened this issue Sep 8, 2020 · 0 comments

Comments

@BinWang0213
Copy link

For a single tet, #f = #v = 4, how can I set up vertex color for a single tetrahedron?

The color setup rule is not valid for a single tet:

The key parameter c represents the vertex or face colors and can be one of the following:
A #v by 1 vector with one function value per vertex, which gets normalized and converted into vertex color values using the viridis colormap.
A #v by 3 vector with RGB color values per vertex. The color values should be in the range 0.0-1.0.
A single color value for all vertices in the form of a numpy array [R, G, B] in the range 0.0-1.0.
A #f by 1 vector with one function value per face, which gets normalized and converted into face color values using the viridis colormap.
A #f by 3 vector with RGB color values per face. The color values should be in the range 0.0-1.0.
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

1 participant