Hi Stephan,

You can check how many items the DatabasePager has  left to merge via
the following methods - when the sum of the two goes to 0 its
complete.

        /** Report how many items are in the _fileRequestList queue */
        unsigned int getFileRequestListSize() const { return
_fileRequestList.size(); }

        /** Report how many items are in the _dataToCompileList queue */
        unsigned int getDataToCompileListSize() const { return
_dataToCompileList.size(); }

You could also consider adjusting the various compile related methods
in osgDB::DatabasePager.  2.1.x supports compile contexts which when
used can really accelerate loading of new tiles.

Robert.


On 10/1/07, Steven Powers <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Im using Producer::viewer (OSG v 1.2) to load a paged terrain database. When
> I move my camera to a location over the terrain it takes quite a while for
> the terrain to be paged into view. Is there a way to query the DatabasePager
> to see if the terrain has been paged into view??
>
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to