My aim is to color only a part of a mesh surface based on a condition.
What I have done so far is the following:
- I deconstructed the mesh
- based on the vertex list, I assign a color if a specific geometric condition is true
- I obtained a list of color for all the vertices (for example red if true, blue if false)
- I reconstructed the mesh with the list of color.
I would like to know if the vertices which don’t comply to the condition above can be “colorless” and be kept transparent.