Hi Kim, I had a problem like this in the past, I solved it using a draw callback to update the texts.
you can read this problem here : http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/39315/focus=39408 Hopping this can help you. Regards, Vincent. 2009/3/2 Kim C Bale <[email protected]>: > Hi all, > > > > I’m getting some odd errors in conjunction with osgText. > > > > I’m loading two font files and assigning them to various osgText drawables, > which are in turn added to a series geodes. > > Each geode is then rendered to texture using individual pre render FBO > cameras. > > > > When I set the application to single threaded all is well, however when I > set it to AutomaticSelection > > > > It prints the error: > > > > before Font::Glyph::subload(): detected OpenGL error 'invalid operation > > before Font::Glyph::subload(): detected OpenGL error ' > > > > Before crashing with an access violation. Last four entries on the call > stack are at the base of the post. > > > > I’m not changing the text at any point after I’ve done the initial set up > and I’ve tried setting the data variance on the osgText drawables to > DYNAMIC. But it doesn’t seem to help. > > > > Anybody have any ideas what’s gone wrong here? Hopefully I’ve given enough > information. > > > > Cheers, > > > > Kim. > > > > > > > > msvcr80d.dll!strlen(unsigned char * buf=0x0549ef78) Line 81 Asm > > > > msvcp80d.dll!std::char_traits<char>::length(const char * _First=0x00000000) > Line 559 + 0x9 bytes C++ > > > > osg55-osgTextd.dll!std::operator<<<std::char_traits<char> >>(std::basic_ostream<char,std::char_traits<char> > & _Ostr={...}, const char > * _Val=0x00000000) Line 748 + 0xc bytes C++ > > > > osg55-osgTextd.dll!std::operator<<<std::char_traits<char> >>(std::basic_ostream<char,std::char_traits<char> > & _Ostr={...}, const > unsigned char * _Val=0x00000000) Line 929 + 0xd bytes C++ > > > > > > ***************************************************************************************** > To view the terms under which this email is distributed, please go to > http://www.hull.ac.uk/legal/email_disclaimer.html > ***************************************************************************************** > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

