<div dir="ltr"><div><div>Thanks Mike, that got me on the right track. <br><br>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.<br><br></div>Regards<br></div>Hannes<br><div><div><div><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mike Connell</b> <span dir="ltr"><<a href="mailto:michael.connell@gmail.com">michael.connell@gmail.com</a>></span><br>Date: Mon, Jun 19, 2017 at 7:24 PM<br>Subject: Re: [osg-users] Check paging status<br>To: OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>><br><br><br><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"><div><div class="gmail-h5">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></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><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="gmail-m_1042277555098790529HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-m_1042277555098790529HOEnZb"><font color="#888888">Hannes Naude<br></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><br></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></div><br></div></div></div></div>