Login  Register

JOGL - High performance text rendering

Posted by km on Aug 24, 2010; 8:04pm
URL: https://forum.jogamp.org/JOGL-High-performance-text-rendering-tp1319060.html

Hello,

I'm using JOGL for a application which renders a map, on this map we can (depending on some options) draw large amounts of text items. Our application is cross-platform in nature that it should run on Windows, Linux and MacOS X.

To increase performance, we dropped AWT/Swing for Qt-Jambi, and on Windows we dropped the JOGL TextRenderer for wglUseFontBitmaps (platform specific function).

Unfortunately text rendering is still terribly slow (1-2 fps) on Linux and MacOS X if large amounts of texts are shown at the same time (+/- 1000 text labels). If only a small number of text labels are shown (+/- 10-50) there are no performance issues at all.

We are currently using JOGL 1.1.1a.

Are there alternatives for the TextRenderer which allow us to draw text with better performance on MacOS X and Linux?
Or, are there suggestions to fine-tune the use of the TextRenderer?

Thanks,
Kenny