0

I am trying to look into the curve implementation of the JOGL TextRenderer class. According to a post by mr Goethel it is a better alternative to the awt implementation. It appears, however, that this new TextRenderer is missing from JOGL. It is supposed to be in the same region as this. Does anyone know if this feature is deprecated, removed etc?

From looking into it, there doesn't appear to have been announcements to remove the class, but there was some activity on the github repository graph/curve/opengl recently.

Thank you very much for your help.

Edit: Sven Goethel pointed me to an implementation of awt TextRenderer. This blob works perfectly without messing. But bear in mind, speaking as an openGL noob, don't forget to unbind any programs or other stuff prior to rendering text.

gl.glUseProgram(0);
gl.glBindVertexArray(0);
//etc...
//do textrendering stuffs
Sevle
  • 3,109
  • 2
  • 19
  • 31
PiMan
  • 55
  • 10
  • You should contact Sven on our official IRC channel. I haven't found this class, I have just looked at the changelogs. – gouessej Mar 02 '15 at 09:35
  • Thanks for the suggestion! I have gotten a few ideas from sven and I am looking at the demos in the git as suggested by himself. With respect to my question, it is 'in the works' as seen in [link](https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.3.0#Graph). One warning Sven noted, the awt textrenderer is buggy, for example, I tried [rendering the letter 'e'](http://prntscr.com/6byj70) – PiMan Mar 02 '15 at 22:14
  • I apologise for above, the weird output was due to an incorrect binding. [tada](http://prntscr.com/6bz4d5) – PiMan Mar 02 '15 at 22:57

0 Answers0