angeloskath / simple-3dviz

A library for 3D visualization with moderngl
http://simple-3dviz.com/
Other
134 stars 22 forks source link

2D text rendering #5

Open jgonzalezdemendibil opened 3 years ago

jgonzalezdemendibil commented 3 years ago

Hi,

First of all I would like to mention the good work carried in this project. I have been testing almost all the features and I was thinking about rendering text. I managed to crete a mesh reandereable containing the text to display but I wolud like to know if you are thinking about implementing this feature. (Example: a GUI text)

Thanks in advance,

Javi

angeloskath commented 3 years ago

Thank you Javi! I am glad you like it.

I did start a text renderable some time ago but I did not finish it and I believe I haven't even pushed the branch.

If you feel like writing a shader for text, I would be more than happy to merge it, but to be honest I don't think we will add one any time soon (unless we really need one for something 😁).

So far our approach has been use simple-3dviz for fast visualization in an ipython shell for instance, or write a small script that does an animation and then annotate by overlaying text on the video (which sucks I agree).

Let us know if we can help in any way. I will leave this issue open and mark it as a new feature because I believe it would be useful for a lot of people.

Cheers, Angelos