Hi Ralf, The naming of the files will tell you which is the root, it's the one without all the subtile text in them.
If you do wish to load a file to determine if it's the root then there is no full proof way to do this. On geocentric databases the osg::CoordinateSystemNode decorates the paged scene graph, and is only placed in the root file, and the if you have multiple layers you'll also have a osgFX::MultiTextureControl node decorating the paged scene graph. Robert. On Thu, Oct 2, 2008 at 3:16 PM, Ralf Stokholm <[EMAIL PROTECTED]> wrote: > Hi All > > When searching a directorystructure recursively, how do I easily identify a > .ive file as a paged lod root, so that I may stop the recursive search? > > > Backgruond: > > My project is based on delta3d. > > The map editor for delta3d (STAGE) will search the datadirectory and search > for models which can be added to a map. > > My problem is that my VPB paged terrain database (3 mio files) is one of the > models in that directory, and this means it will take forever to open the > editor. > > I would like to add the option for the editor to stop its recursive search > of a directory if it dertermines that an ive is the root of a paged lod > hirachy, could anyone provide some code lines that would reveal this. > > Brgs. > > Ralf Stokholm > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

