Chris 'Xenon' Hanson wrote on Thursday, August 20, 2009 2:13 PM: > Thrall, Bryan wrote: >> Couldn't this just be handled by having the filename in the PagedLOD or >> ProxyNode have the pseudoloader suffix already? > > Yes, it could. But the intent of the pseudoloader is to apply the > pseudoloader to databases that were built unaware of the pseudoloader's > existence. For example, the .scale pseudoloader doens't require the object it > is loading (and scaling) to have any advance knowledge of the pseudoloader.
That's what I figured you were after :) I can see this kind of feature being particularly useful with the curl pseudoloader (though not having used that loader, I'm not sure it would work just from appending .curl to a local file...). >> Or, you could have the pseudoloader traverse the loaded scene graph and >> add the suffix to the PagedLOD and ProxyNodes itself, without requiring >> changes to the core classes. > > Yes, you could do this too. I already have to traverse the scenegraph to > apply the suffix to all the PagedLODs. But I found that PagedLOD already > supports a databasePath prefix functionality (which derives from a similar > circumstance) so I thought emulating the existing databasePath technique > would probably be the best way to do things. Fair enough. -- Bryan Thrall FlightSafety International [email protected] _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
