-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi. I love your work. Using this I could create a small UI to visualize my CFD datasets, changing the colormaps, the cases, playing the snapshots as a movie... It's lightning fast and much better than what I had previously. Since I needed the new "add_mesh" method I'm also using your dev version from a few days ago. Currently you pass it 3 main arguments:
- Mesh vertices N positions
- M simplices connecting everything (list of tris or quads, with each element being a 3 or 4 length list of vertex indices)
- Colors (either uniform color or an array of [per-position N colors,4]). With the per-position colors, the result is interpolated between vertices.
Here's my suggestion. It would be cool to have a per-face color option instead. So you give it:
- Vertices N positions
- color-mode: "face" extra argument
- M simplices
- Colors, now being an array of size (M, 4) where each tris or quad has its own uniform color
Could it be done?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels