It's osgSim::Impostor, not osg::Impostor.I am sorry.
------------------ Original ------------------
From: "ttaw";<wattha...@qq.com>;
Date: Tue, Mar 4, 2014 08:17 PM
To: "osg-users"<osg-users@lists.openscenegraph.org>;
Subject: perhaps a bug in osg::impostor
hello, everyone.
I am an osg learner in China.Recently, whenI read the source code of
osg::Impostorclass, something about multi-threading confused me alot.That is,
in the case of CULL_VISITOR ofosg::Impostor::traverse, no mutex is used to
protect thefunction createImpostorSprite which changes the sprite list.Doesn't
it result in a potential crash when multi-camerasare active and
CullThreadPerCameraDrawThreadPerContext modelis used?
Any discussion is welcome.Thanks.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org