Login  Register

Best way to drawing a lot of strings

Posted by Djak on Apr 07, 2012; 7:16pm
URL: https://forum.jogamp.org/Best-way-to-drawing-a-lot-of-strings-tp3893249.html

Hi :)

In an application I need to draw 2000-20000 strings and I'm looking for hints to preserve ressources in doing this.

I was using com.jogamp.opengl.util.awt.TextRenderer ang get some relatively good performances for 2000 strings but "bad" for 5000 (about 15 fps).

I followed some topics on the forum relative to com.jogamp.graph.curve.opengl.TextRenderer and after testing it I got about 0.5 fps for 2000 strings. I don't know well the new TextRenderer for now but do you think there is no way to get higher performances using it than using old pre-renderered textures method in awt.TextRenderer ? (as it is said in another topic)

Else anyone may have advises for drawing a lot of strings with JOGL ? Strings are all differents and positions may change between two rendering.

Thanks in advance for help :)