Rendering Text

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rendering Text

Laykun
OK so I used to use the TextRenderer to draw text which is no longer compatible with GL3. using a GL3Bc seems to be broken for me too ("Profile GL3bc is not available on null" : Linux Intel Mesa). My question is, what is the currently accepted method going forward for rendering Text? I can't seem to find a demo with source code, but I'd love to transition my current system to the new one. I've heard of some sort of com.jogamp.graph.curve.opengl.TextRenderer system but can't find an actually implementation and this class is also missing for me.
Reply | Threaded
Open this post in threaded view
|

Re: Rendering Text

gouessej
Administrator
Hi

The legacy AWT text renderer has never been compatible with GL3 but there is an uncommitted change with a few conflicts that fixes it. You should look at the unit tests for an example based on the shader based text renderer. Those both solutions are built in JOGL, you can still use a middle level framework or an high level engine relying on JOGL, they are their own mechanisms to draw some text.

Edit.: I was talking about this pull request.
Julien Gouesse | Personal blog | Website