Login  Register

Re: TextRenderer - my text won't show

Posted by LordSmoke on Sep 05, 2013; 3:37pm
URL: https://forum.jogamp.org/TextRenderer-my-text-won-t-show-tp4029291p4029988.html

Hello, Folks! I wanted to check in and say "Thanks" to all who have been helping LiLi and Deedee. Due to an earlier login mistake, these are, in fact, the same person. She is my graduate student who was tasked with developing a jogl shader-based library on which to build future graphic enhancements to our lab software.

That software was originally developed with Java3D and ported to the 2.0 version of that library developed here. I have been able to check in sporadically as my tight university schedule allowed only occassionally work on the port. That was pretty much completed about 18 months ago, and with additional computational coding, the program is now being used around the world. Thanks for all the help with that, too.

I am pleased to say that Lili/Deedee is now one of the experts in jogl shader-based programming in our group. But, this also means there are a limited (=0, including myself) people who can help her locally. I have been working with her on general debugging strategies, and I think we have a small example (~300 lines) that illustrates the problem with text rendering (the only known problem at this time).

I will post the code later, but the basic problem seems to be that rendering all sorts of things - lines, textures, meshes, works well. However, when the text renderer is added, it appears the last component added to the scene is not rendered. In the example I will post, if lines are rendered, then text, the text doesn't show. If text is rendered, then lines, the lines do not show. Again, without text everything we've tried displays.

That's the simple version of the problem. Lili/Deedee is currently looking at the exact location of the non-rendering when text rendering is embedded in the middle of a complex scene. Tests thus far have involved adding the text as the first or last element.

Again, thanks for everyone's help. Will post code later (after classes).

Oh, current tests all involve the latest libraries, which seem to have solved some earlier problems.

-LS