Login  Register

Re: JOGL - High performance text rendering

Posted by GiGurra on Jul 13, 2011; 11:22am
URL: https://forum.jogamp.org/JOGL-High-performance-text-rendering-tp1319060p3165617.html

Yes, and I happen to have just searched for it. I just recently moved my application from jogl 1 to jogl 2.
My application basically runs a set of awt windows, each with some control buttons and a jogl glcanvas in the center,
so I'm using com.jogamp.opengl.util.awt.TextRenderer to render text (vertexarrays enabled like suggested).
Everything is running smooth so far except the performance of the textrenderer, which is, by far, the biggest slowdown of my application (I use only the 3d rendering calls of the textrenderer btw).

In order to speed it up Ive tried to make as few "begin3drendering" calls as possible, but with the nature of my application,
that will not be possible to the extent that I reach sufficient performance.

To remedy this problem in jogl1 I rewrote parts of the textrenderer, which pretty much solved my problem.
However, when I try to do the same thing for jogl 2.. I've run into a problem. I can't find the source :). I've downlaoded the
latest master build which has some source zips. Should I also check the stable builds? Has the textrenderer been removed from the master builds or am I (which is most likely) just looking in the wrong place :).

UPDATE/EDIT: Nevm I was, as expected, looking in the wrong place :S