Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
Does LWJGL come with a TextRenderer to use with OpenGL?
« previous
next »
Print
Pages: [
1
]
Does LWJGL come with a TextRenderer to use with OpenGL?
5 Replies
3777 Views
Naug
4
Does LWJGL come with a TextRenderer to use with OpenGL?
«
on:
September 22, 2014, 13:40:45 »
I've been looking around and didn't find anything =/ Rendering text in an OpenGL frame seems to be a non-trivial problem and I would be real happy if I could find a decent library for it.
Logged
Cornix
488
Re: Does LWJGL come with a TextRenderer to use with OpenGL?
«
Reply #1 on:
September 22, 2014, 13:44:59 »
LWJGL does not offer anything in that way. You have to either write your own library or use some third party library for that. I personally dont know any, I wrote my own.
Logged
Naug
4
Re: Does LWJGL come with a TextRenderer to use with OpenGL?
«
Reply #2 on:
September 22, 2014, 14:04:50 »
Look for one hour, find nothing.
Write forum post
Look five more minutes, find
this
.
Story of my life
Thanks to cornix for the reply
Logged
Cornix
488
Re: Does LWJGL come with a TextRenderer to use with OpenGL?
«
Reply #3 on:
September 22, 2014, 15:04:18 »
I've looked at the code and it doesnt look very flexible or powerful. It also uses outdated functionality. I would not recommend it, but if its enough for your needs then go ahead.
Logged
kappa
1319
Re: Does LWJGL come with a TextRenderer to use with OpenGL?
«
Reply #4 on:
September 22, 2014, 16:19:47 »
Both
LibGDX
and
Slick2D
have OpenGL text rendering implementation which you can view/copy.
Further check out the
LWJGL Wiki
, if I recall correctly there is a tutorial on how to render truetype fonts in LWJGL using the Slick-Util library.
Lastly do have a search of these forums, there are a number of posts in which people have posted their implementations of text rendering in LWJGL.
Logged
Naug
4
Re: Does LWJGL come with a TextRenderer to use with OpenGL?
«
Reply #5 on:
September 24, 2014, 12:22:20 »
Yeah, that SimpleText was no where near what I thought it would be. Tried Slick2D now and that suits my needs just fine. Thanks for the replies
Logged
Print
Pages: [
1
]
« previous
next »