Hi Andreas, If you are modifying text dynamically in the application then you should set the text DataVariance to DYNAMIC so that the draw traversal knows to hold back the next frame till all the dynamic drawables and state have been dispatched.
Robert. On Mon, Jan 24, 2011 at 4:07 PM, Andreas Roth <[email protected]> wrote: > Hi, > > I want to create a billboard with an icon and a text. I noticed that it > cannot use SCREEN_COORDS, when i use my own Billboard. It don't want the text > to rotate to screen, i just want the scale-to-screen functionality. To > accomplish that i tried to set the character size during the update pass my > application crashes. It crashes after some traversals are done. It seems to > be a problem, when the viewer renders the scene and another thread does the > update traversal and replaces some data used to render the text object. > Is this behaviour intended or is it a bug? > > Thank you! > > Cheers, > Andreas > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=35926#35926 > > > > > > _______________________________________________ > 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

