Login  Register

Re: Is this the correct way to draw rotated text with TextRenderer?

Posted by farrellf on Nov 23, 2016; 4:42am
URL: https://forum.jogamp.org/Is-this-the-correct-way-to-draw-rotated-text-with-TextRenderer-tp4037443p4037447.html

The code snippet covers pretty much all of the relevant stuff. Calling flush() is necessary in this case (where I modified the modelview matrix) because, well, the Javadoc says so :)

http://download.java.net/media/jogl/jogl-2.x-docs/com/sun/opengl/util/awt/TextRenderer.html#flush()

-Farrell