Hi,

Unfortunately I was not able to follow the idea, since the addLoadedDataToSceneGraph is not virtual and thus I cannot overwrite the function.

Hi Daniel,

I'll give it a try. Thanks for the insights.
Hi Sebastian

You you provide your own derived class of DatabasePager and overload the method addLoadedDataToSceneGraphLocal.

Thats the place where the databaseRequest->loadedModel is added to the scene. Afterwards, the model is set to zero to notify the completion of the databaseRequest.

You would have to make sure that the models are not added to the scene here aslong as some condition is not met, and that the requests remain pending...

Hope this gives you some inspiration...

Regards
Daniel

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59513#59513





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to