Re: Text rendering, best solution for my case
Posted by
Sven Gothel on
Apr 21, 2014; 1:39pm
URL: https://forum.jogamp.org/Text-rendering-best-solution-for-my-case-tp4032192p4032220.html
On 04/21/2014 09:29 AM, andrei [via jogamp] wrote:
> Thanks, that helped me a bit but there's still a few questions left open for
> me. Are there test files that render text over existing context, e.g.
> GearsES9NL69?
>
> I got plain text rendering to work like in the tests:
>
https://gist.github.com/anonymous/11134970>
> But when I put the code into my main application, everything is black.
> Obviously some states are set that I don't know how to unset after the text is
> rendered. Any pointers?
(master branch)
RegionRenderer.enable(...)
Pls track usage of this method,
and the RegionRenderer.create(..) factory method
to pass the enable/disable GLCallbacks.
Examples:
- com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube
- com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieSimple
- com.jogamp.opengl.test.junit.jogl.acore.GLReadBuffer00Base <- TestGLReadBuffer01GLWindowNEWT
If you have more suggestions or ideas to enhance the WIP model,
pls join our Graph/UI effort.
Hope it helps.
Cheers, Sven