Hi, I have a problem with LODs. I load a big terrain in osgviewer. The terrain is a quadtree made of 3 levels of details.
My problem is that the animation freeze when a LOD node swith to another subgraph. The animation freeze during 5/6 frames. It happen only when the new subgraph has not be viewed for a "long" time. It looks like some data (geometry, texture, ???) has expired and is re-uploaded in video memory when is needed. Am I right? If so, is there any expiry delay or policy that I can tweak to avoid these freezes? I don't know if it has some importance but I have activated the cache in the registry : osgDB::ReaderWriter::Options *options = new osgDB::ReaderWriter::Options(); options->setObjectCacheHint(osgDB::ReaderWriter::Options::CACHE_ALL); osgDB::Registry::instance()->setOptions(options); _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
