Hi Aklin,
You post just confuses me, there really isn't enough context to what you are
doing to really know what is going on, and the the code itself just looks
odd, for instance the self reference line:
pLOD->setRange(child_no,pLOD->
>
> getMinRange(child_no),pLOD->getMaxRange(child_no));
Real
Hi
I got some idea from the previous reply and did something in my application.
But I am not sure that the my following code is doing dynamic loading,
//On reading each node(osga file)
osg::Node *node=osgDB::readNodeFile(argv[i]);
osg::PagedLOD *pLOD=findPLOD(node);
int child_no=pLOD->getChildI
HI Akilan,
The .osga files are a distraction for this topic, it actually relates to any
file format that the OSG might load.
The OSG supports multi-threaded database paging using the
osgDB::DatabaePager could with osg::PagedLOD / osg::ProxyNode. For you
purposes you'll want to use osg::PagedLOD,
Hi,
I have created virtual earth and wanted to load thousands of osga
models(each 28MB) on it. I am loading all models in the begining itself and
starting the viewer. But it keeps increase the RAM size. When the number of
models increases still more, the application fails.
I want to know how
4 matches
Mail list logo