Hi guys
I have some problems about pagedLOD.
I have a terrain with some building models, it's a IVE file with 3 LODs,
when I use osgPagedLOD to convert these LODs to pagedLODs, I can get many
files. But there are many holes when I use viewer to load the pagedLOD. On
the other hand, I make a little modify in osgpagedLOD.cpp as follows:
if (pos==0&& !_makeAllChildrenPaged) //
{
plod->addChild(lod->getChild(mitr->second), mitr->
first.first,mitr->first.second);
pagedLOD,output.ive
}
I took out "&& !_makeAllChildrenPaged" , and also get many files, these time
there aren't holes when load the output.ive,but the other pagedLODs are
loaded very slowly,
and the buildings didn't appeared where they should do, that is to say, the
multiple low-level tiles were not be swithed to a high-level tile smoothly.
So I can't see the buildings at the very begning.
But the primary LOD IVE didn't have thest problems , when I use osgviewer
the LOD are loaded smoothly and the buildings can be loaded according to the
distance between the lod center and my eye point. Why?
What's the advantages of pagedLOD compared to LOD?
Cao jing
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/