Hi Duvan, One could use a ReadFileCallback to modify PagedLOD attaching custom CullCallback as they are loaded and have this CullCallback provide that overrides the default PagedLOD::traverse() method and provide a different range that is used for the LOD tests.
However, this is all rather convoluted, perhaps just using multiple paging threads and/or tweak rate at which new subgraphs are merged by disabling the pre compile. Please note that pre-compile is currently off by default in recent versions of the OSG, but older versions it was on by default. Robert. On Fri, Feb 11, 2011 at 4:02 PM, Duvan Cope <[email protected]> wrote: > > Hello OSGers! > I was wondering what kind of mechanisms OSG currently has, or if there is a > plugin, that would allow warping the ranges of predetermined LOD/Tiles from > a Terrapage database based on the velocity of the view. So I can use the > velocity vector as a bias to allow paging in terrain or higher LOD geometry > that is in the path of motion sooner than would normally be done if strictly > following the Terrapage Database's data (the created PagedLOD nodes in > combination with the DatabasePager from the Txp reader writer). > As I see it, I would have to edit the Txp reader writer to incorporate > warping the range fields based on the velocity vector myself in its > TXPPagedLOD, along with adding the ability to query the view's velocity from > the TXPPagedLOD (Adding it to a new node visitor perhaps?). I figure I pose > the question before I do anything rash... =P > Thanks in advance! > _______________________________________________ > 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

