<div dir="ltr">osgDB::DatabasePager : getFileRequestListSize(), getDataToCompileListSize(), getDataToMergeListSize(), getRequestsInProgress() and perhaps a call to requiresUpdateSceneGraph() should get you there.<div><br></div><div>/Mike</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 June 2017 at 15:11, Hannes Naude <span dir="ltr"><<a href="mailto:naude.jj@gmail.com" target="_blank">naude.jj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi all<br><br></div>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. <br><br></div>Regards<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Hannes Naude<br></font></span></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div><br></div>