On Wed, Mar 5, 2008 at 1:13 PM, Mathias Fröhlich <[EMAIL PROTECTED]> wrote: > On Wednesday 05 March 2008 13:51, Robert Osfield wrote: > > The closest you could get is to have a a osg::Referenced* pointer > > passed as an extra parameter into DatabaseRequestHandler, and have > > this pointer dynamically cast to a ReaderWriter::Option*. One could > > possible pass the PagedLOD's UserData to the DatabaseRequestHandler. > > Or perhaps one could just use a modification to the > > DatabaseRequestHandler implementation to do a getUseData from the > > Group* passed in. > May be a pointer to just that PagedLOD Node the request is comming from? > Then the loader can ask for user data on that node or dynamic upcaast the > PagedLOD pointer to whatever it expects to be?
This Group* pointer passed in by requestNode will be the PagedLOD in question, so this is already there. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

