Hi Robert et al,
I have already set DYNAMIC data variance to both the osgText::Text and the
osg::Geode which holds the text. Crashes anyway.
I have tried to replicate the error in a more simple environment than our
production software. But no luck with getting crashes with the simple one. :/
Hi Björn,
If setting the DataVariance to DYNAMIC doesn't fix the crash then it
looks likely that the problem is elsewhere. I don't have an answer to
what this might be, debugging problems like this is hard when you have
the crashing app in front of you, without this it's just a case of
educated
Hi,
I had similar problems in OSG 2.8.2 when calling
osgText::Text::setText(string) while the text was being rendered by
another thread. My solution was to use a DrawCallback and a Mutex lock
to avoid calling setText at the same time as the drawImplementation.
I'm not sure if this is a good
Hi Björn,
If you set the Text::setDataVariance(osg::Object::STATIC) it should
avoid these issues, if it doesn't then it's a bug that we need to
investigate. Could you create an example, such as modifying an
existing example like osgtext, so that it reproduces your usage model
and the crash.
Hi,
On 13/10/10 11:14, Robert Osfield wrote:
Hi Björn,
If you set the Text::setDataVariance(osg::Object::STATIC) it should
I think Robert meant DYNAMIC instead of STATIC.
jp
avoid these issues, if it doesn't then it's a bug that we need to
investigate. Could you create an example, such
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Threading issues with osgText
Hi Björn,
If you set the Text::setDataVariance(osg::Object::STATIC) it should
avoid these issues, if it doesn't then it's a bug that we need to
investigate. Could you create an example, such as modifying
On Wed, Oct 13, 2010 at 12:53 PM, Gordon Tomlinson
gor...@gordon-tomlinson.com wrote:
I think it should be ::setDataVariance(osg::Object::DYNAMIC) not static
Ooppss... Yes DataVariance should be DYNAMIC ;-)
Robert.
___
osg-users mailing list
Hi,
We are getting crashes when adding text to the scenegraph. I have spent hours
of debugging trying to find the source of the problem without success. All
suggestions will be appreciated.
Details:
We use OpenSceneGraph 2.8.3 and base the software on the composite viewer. Our
main
8 matches
Mail list logo