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 as modifying an
existing example like osgtext, so that it reproduces your usage model
and the crash.
Cheers,
Robert.
2010/10/12 Björn Blissing<[email protected]>:
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 loop looks like this:
Code:
while (!m_viewer->done())
{
updateSceneGraphContent();
m_viewer->frame();
}
All changes to the scenegraph is done inside the updateSceneGraphContent method.
The text nodes have their datavariance set to Dynamic.
When running the software on my developer machine everything works fine. It is
a Core2 machine with no hyperthreading and a NVIDIA GTX 8800 card. But when we
move the software to the production environment we get crashes when adding text
to the scenegraph. The production enviroment is running QuadCore machines with
hyperthreading. All computers run WinXP 32-bit and have NVIDIA GTX470 cards.
When running with DrawThreadPerContext it crashes, but if we set the viewer to
run in SingleThreaded mode everything works fine.
Best regards
Björn Blissing
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32650#32650
_______________________________________________
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
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org