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
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));
Really
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
3 matches
Mail list logo