Björn Blissing wrote: > I remember I wondered the same thing my self. The method I (and I guess > Vincent) wonders about is the: > addChild (Node *child, float min, float max, const std::string &filename, > float priorityOffset=0.0f, float priorityScale=1.0f) > Here you have to supply both a Node* and a filename. I didn't quite get why, > so I skipped this and used the setFilename approach instead.
I think this is used when creating a PagedLOD scenegraph that you will then write to disk for later realtime use, the way VirtualPlanetBuilder/OSGDEM does. > Related question: > What do the values "priorityOffset" and "priorityScale" control? The > documentation is quite sparse when it comes to this... From memory, these are used to tweak the criteria used to determine when each node is loaded form disk, but I can't recall the details. > Best regards > Björn -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org