Hi, I'm using a LOD node but i have a problem. When I create the LOD node I don't know all the ranges I will need. For example: I create a LOD node with a red cube in ranges 0 to 10 and a blue cube in ranges 10 to 20; something like this:
Code: osg::LOD* lod = new osg::LOD(); lod->addChild(redCube(), 0, 10); lod->addChild(blueCube(), 10, 20); .... scene->addChild(lod); viewer->setSceneData(scene); After that I only have access to the variable "scene" I also want to add a large scene to this LOD in ranges 20 to 30, but I only want to load this scene when the viewer is in the range 20 to 30 because it takes too much time to load it, so I don't want to load all the nodes when I create the LOD. ¿Is it posible? Thank you! Manuel ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25241#25241 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

