Re: [osg-users] SharedStateManager performance issues

2013-09-26 Thread Robert Osfield
Hi Daniel, I'm not the author of SharedStateManager so to answer questions I'd need to dive into the code like yourself to provide answers. In general moving operations to background threads make sense, but only if they can be done in a thread safe way. In the case of the SharedStateManager::sha

Re: [osg-users] SharedStateManager performance issues

2013-09-26 Thread Daniel Schmid
@Robert, would it be possible to call Code: if (osgDB::Registry::instance()->getSharedStateManager()) osgDB::Registry::instance()->getSharedStateManager()->share(databaseRequest->_loadedModel.get()); in the db loading thread scope instead of during the scene update?

[osg-users] SharedStateManager performance issues

2013-09-26 Thread Daniel Schmid
Hi there I have a tiled DB that is loaded using the DatabasePager. Everything ok and fully performant. Now I generate some custom drawables and attach them to the tiles sub-scene graph. Suddenly I notice a heavy load problem (stutter) in the moment when the node is being added to the main sce