Thanks Mike, that got me on the right track. And for the benefit of future users with similar questions, I would just add that the osgautocapture example provides a nice example of how to use the osgDB::DatabasePager class that Mike refers to, to achieve exactly this.
Regards Hannes ---------- Forwarded message ---------- From: Mike Connell <[email protected]> Date: Mon, Jun 19, 2017 at 7:24 PM Subject: Re: [osg-users] Check paging status To: OpenSceneGraph Users <[email protected]> osgDB::DatabasePager : getFileRequestListSize(), getDataToCompileListSize(), getDataToMergeListSize(), getRequestsInProgress() and perhaps a call to requiresUpdateSceneGraph() should get you there. /Mike On 19 June 2017 at 15:11, Hannes Naude <[email protected]> wrote: > Hi all > > I am using OSG and osgEarth in a simulation where a lot of data is being > loaded. Now, the normal behaviour is to load resources in separate > background threads, so that the rendering thread does not stutter when > large resources are being loaded. However, in my use case fidelity is more > important than real-time behaviour. I would prefer if I could somehow check > the status of the resource paging and only continue rendering when all > resources have been loaded. I have browsed the examples and did some > Googling, but could not find anything that appears directly related. If > someone could point me toward an applicable tut/example/ or part of the > API, it would be greatly appreciated. > > Regards > Hannes Naude > > _______________________________________________ > 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
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

