I did this a while ago but I lost the code in an Arch to Arch transition. Something to do with my video drivers.
In order to render text on the screen with LWJGL I’ve seen that you can use a quad/triangles and just render each letter, called from a texture atlas with all the characters, to the quad. However I don’t know if this is good practice or if there’s even another way.
There’s the way slick-util does it, and I don’t have experience with that, but it seems pretty easy. I think this may use the solution I talked about above.
Is there some “generally accepted” way to render text to the screen that is suggested?
Thanks.
Edit: I just found this video that actually defines each vertex for the letters. This is usable, however it doesn’t allow for any actual fonts. https://www.youtube.com/watch?v=JFQhhwVqqs8
Interesting anyway.