On Wednesday 05 March 2008, Robert Osfield wrote: > Hi Till, > > To summerise (just to double check I know where you coming form): > > 1) You have your own loaded that requires more information that can > be encoded into a std::string via the filename.
yes > > 2) This extra information is per Node rather so can't use the > osgDB::Registry one, but must be assigned to each > PagedLOD (or subclass thereof). exactly. > > 3) The DatabaseRequestHandler needs extending to allow one to pass > this info to DatabasePager. yeah. that's what i thought. but of course i ignored the fact that these are separete libraries. so no option. what about just making the requestNodeFile through a virtual function in PagedLOD then. i'll happily cast the DatabaseRequestHandler to a DatabasePager in there. i need to subclass PagedLOD anyway. and that would remove the need to reimplemnt traverse() which is a rather complex function. - till _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

