Hi,
I'm using the TextRenderer class to display some labels on various 3D objects.
I'm using com.jogamp.opengl.util.awt.TextRenderer and call it like this:
//... rotate to align to screen space ...
textRenderer.begin3DRendering();
textRenderer.draw3D(text, ...);
textRenderer.end3DRendering();
textRenderer.flush(); // doesn't really make a difference.
However, when I'm drawing many objects (100+), the text renderer sometimes swap characters arbitrarily. It seems like it does some wrong look-ups from the character map. The problem persists when changing "setUseVertexArrays(...);"
Could I be doing anything wrong? Any ideas for a work-around or solution to this?
Regards, Mikael.
(This is on Windows Vista 32bit, Geforce 570GTX, and using the 11/04-2013 auto-aggregated builds.)