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.

> 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.

-- 
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-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to