Adding Different colors to different meshes in viso3d?
VimalMollyn opened this issue · comments
Hey! Do you have plans to add support for different colors for each mesh while rendering multiple meshes? I have a hacky version ready, can make a pull request if you want!
Thanks!
Vimal
Hi Vimal,
Thanks for the proposal.
It is great, but I think this may go too far from the goal of this package - wrapping existing methods using minimal code for basic functionalities.
To some extent, this package is trading flexibility for ease of use.
My concern is that if we start to support multiple meshes, with different colors, maybe we should also support changing lights, moving cameras, etc, and things get more and more complicated.
For the highly customized demands, I think it would be better to go to the official open3d, and only left this package for quick tests of ideas.
What do you think?
Best regards,
Yuxiao
Hmm yeah you may be right. I just thought that since the existing package includes support for rendering multiple meshes, adding colors may be helpful in distinguishing them. Maybe we can just include a text label or something else instead?
Oh, are you referring to visgl
? https://github.com/CalciferZh/vctoolkit/blob/master/vctoolkit/visgl/__init__.py#L11
I was referring to viso3d actually.
Were you referring to render_sequence_3d
? https://github.com/CalciferZh/vctoolkit/blob/master/vctoolkit/viso3d/__init__.py#L7
Yes!
This function was meant to render a sequence with a changing mesh and the first axis of verts
is for the number of frames instead of multiple meshes. Guess you found a different way of using it :)