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->getChildIndex();
pLOD->setRange(child_no,pLOD->getMinRange(child_no),pLOD->getMaxRange(child_no));
group->addChild(node);
...
...
viewer.setSceneData(group.get());
viewer.run();

If ur answer is redundant, pls execuse and get me cleared.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9788#9788





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to