[osg-users] Disappearing text

Ronny Hatteland ronnyhatteland at gmail.com
Mon Apr 18 07:29:15 PDT 2016


The issue was fixed using the following after every ->setText():


Code:
mViewer->getSceneData()->resizeGLObjectBuffers(osg::DisplaySettings::instance()->getMaxNumberOfGraphicsContexts());


which is called inside of setSceneData(). However, this obviously has a huge performance impact and I cannot do this on mouse move. Any suggestions?

Thank you!

Cheers,
Ronny

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66862#66862








More information about the osg-users mailing list