[osg-users] openGL error 'stack overflow' at after RenderBin::draw(..)

Nebi Sarikaya nebsar at gmail.com
Sat Dec 29 01:09:04 PST 2018

At last I managed to do somethings using osgText::Text, but I had to create a new class called "TextMod" means modified text derived from osgText::Text class, and I created a function setting offset to TextMod class. By setting different offset values to each text I could set all the positions of the texts at the center origin point. So when I rotate the pitch ladders all text labels rotate aligned with the pitch ladders.

Actually I did a similar HUD using NASA World Wind Java. There is a TextRenderer class in WWJ API and by that way a text can be rendered on GLCanvas. So when the matrix is rotated all drawings and texts rotates. That was actually more easy to implement.

If anyone knows an easier way please let me know.

Thank you!


Read this topic online here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.jpg
Type: image/jpeg
Size: 369627 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181229/90fb7861/attachment-0001.jpg>

More information about the osg-users mailing list