Refactored the PagedLODList implementation so that it's now done via a base class that enables different implementations to be easily tried. Initial concrete PagedLODList is the SetBasedPagedLODList.
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
osg::Timer_t start = osg::Timer::instance()->tick();
|
||||
osgDB::DatabasePager::updateSceneGraph(frameStamp);
|
||||
double d = osg::Timer::instance()->delta_m(start, osg::Timer::instance()->tick());
|
||||
std::cout << "DatabasePager update took " << d << " ms. Length of active nodes = " << _activePagedLODList.size() << std::endl;
|
||||
std::cout << "DatabasePager update took " << d << " ms. Length of active nodes = " << _activePagedLODList->size() << std::endl;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user