Hi OSX'rs, I have added an check against an env variable to the texture subloading code in src/osgText/Font.cpp that allows you to disabling the incremental subloading that the OSG normally deploys when building up the glyph images in the Font Textures. This will *may* help work around the problem reported on some OSX version/apple hardware.
You can disable the incremental subloading via: setenv OSG_TEXT_INCREMENTAL_SUBLOADING OFF And if you run the OSG with OSG_NOTIFY_LEVEL set to INFO, then and run osgtext you should get the message: osgText::Font loading all glyphs as a single subload. Printed out to the console (along with the rest of the debug INFO so you might want to use grep to pick it out. To enable the normal incremental subloading simple do: setenv OSG_TEXT_INCREMENTAL_SUBLOADING ON -- This particular disabling incremental subloading hack was introduced a number of years back to workaround a driver bug on the SGI Impact, and there is a GL_RENDERER check for it. I this fix we could potentially enable it for other flaky drivers, but personally I'd rather than fix get fixed at source as there is performance penalty associated with having to download the whole image each time a new glyph is required. Any, could OSX users who've had problems with osgText please do a cvs checkout/update and try the above env var trick to see if it fixes things. If it does it'll provide another datapoint to Apple for fix this silly bug. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
