Yes it is paged terrain, but it happens when the tiles are loaded.
Of course, while all the tiles have not been loaded, it is normal
to have some freezes.
I have created my own PagedLOD node. It does not handle (yet) the tiles
"unloading" so, once every node are visited, everything should be in memory.
But freezes are still here.
I will try to convert my terrain to a big non paged ive file to see if I am
missing something.
Lionel.
Robert Osfield wrote:
Hi Lionel,
Are you using a paged terrain? 3 Levels of details would actually be
pretty small, I have databases down to level 18.
Caching all data may be a problem, but without more info on your app
setup I can't say.
Robert.
On 6/2/06, Lionel Lagarde <[EMAIL PROTECTED]> wrote:
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/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/