Hi Filip,

On 22 May 2012 15:39, Filip Arlet <[email protected]> wrote:
> I need to use osgDB::DatabasePager not in cull traversal, but from somewhere 
> else (on demand update of my scenegraph, reloading segment from big database 
> of vector data). The main problem is that database pager invalidates request 
> because of bad request or pager frameStamp, is there any quick solution, I 
> dont really care about frameStamps.

The DatabasePager has lots of elements in it's design that are
fundamentally linked to cull traversal, both for loading of tiles and
expiry of no longer required tiles.  It's not a general purpose tool
for loading data in bakground, and my guess is that you may well not
actually require the DatabasePager but would be better served by
developing your own thread management for you specific needs.  Writing
a loader that works in the background and sync's with the main scene
graph during the update phase is pretty straight forward, one needn't
go to all the complexity that the DatabasePager has to for load
balancing so you should be able to keep the implementation simple.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to