Re: TextRenderer - my text won't show
Posted by
Xerxes Rånby on
Jun 05, 2013; 9:38am
URL: https://forum.jogamp.org/TextRenderer-my-text-won-t-show-tp4029291p4029331.html
Lili wrote
I needed to add
gl.glBindVertexArray(0);
gl.glUseProgram(0);
at the end of my init() method. Now all the objects and the text are displayed. Unfortunately I don't understand everything that's going on so I will probably run into more problems soon :(
Try enable the JOGL DebugGL and TraceGL composable pipelines..
DebugGL adds a glGetError check after each opengl call.
TraceGL show in which order your code and the JOGL helper util classes issued the opengl calls.
You can enable the composable pipelines by passing two debug variables to your application:
java -Djogl.debug.DebugGL -Djogl.debug.TraceGL
I believe this will give you a better understanding what is going on.