Login  Register

Text Rendering to JOGL2

Posted by tami on Dec 28, 2011; 8:34pm
URL: https://forum.jogamp.org/Text-Rendering-to-JOGL2-tp3617263.html

I am desperate here.  I am a casual JAVA/JOGL programmer, since my main programming responsibilities are in other languages.  However, I have developed a java/jogl application that will be useful to my clients in a relatively small amount of time.  

Recently, I realized I must port it to JOGL2 and I did that pretty easily, got the javaws working and all was well except for text rendering.  

I have now spent a ridiculous amount of time trying to figure out how to render a word to an opengl frame.  It seems like you need a shader, a shader program, a render state, etc., etc.  What used to take 5 lines of code now seems like it will take I don't know how many lines!!  Please help.