meshrender icon indicating copy to clipboard operation
meshrender copied to clipboard

Vertex / Face color on same mesh

Open pbias opened this issue 7 years ago • 1 comments

Good afternoon,

Thank you very much for putting this library together, it is very convinient and useful. I'm now interested in being able to set an independant color to each of the triangles of my mesh. However, it is said in the documentation that this feature is not yet officially available. Is there a workaround I can implement in order to be able to do so?

I Thank you in advance for you answer.

pbias avatar Apr 06 '18 13:04 pbias

We'll be adding support for this in the future! Or if you'd like to propose a solution via a pull request, I'd be up for that too. I've been doing some thinking on how to handle per-face or per-vertex colors for Trimesh objects. I think that Trimesh has tentative support for this sort of data, so I'll need to investigate and then think about how to re-write the shaders to support that efficiently. I'll keep this issue open until that feature gets added.

mmatl avatar Apr 06 '18 18:04 mmatl