Re: Need help understanding use of TextRenderer
Posted by Ryan McFall on Feb 07, 2021; 11:07pm
URL: https://forum.jogamp.org/Need-help-understanding-use-of-TextRenderer-tp4041009p4041010.html
Sorry, after I thought about it some more, I realized this was easier than I thought.
I obtained the modelview matrix using glGetFloatv, multiplied the desired location within my Property's idea of its coordinate system, then retrieved the viewport and applied the world-to-viewport computations to help me know where I should draw the text.
It's all working now!