Robert, You are right, although vector<bool> is slow, it is apparently not the bottleneck. In my case, the bottleneck was basically, a deep and complex hierarchy of "osg::Switch" groups.
I did some frame rate testing, replace all the osg::Switch with osg::Group, then frame rate tested again. There was only a minor difference. The hierarchy is the issue, not the presence of the osg::Switch Still, this is a bit like the _SECURE_SCL=0/1 issue on Windows - a performance problem possibly waiting to bite someone. Andrew ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31382#31382 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

