Hi Terry,

I've been wondering about archive functionality, in particular about
the reading of file internal references such as reading the imagery
referenced by a scene graph where both are stored in the same archive.
 The intent of the osgDB::Options support in ReaderWriter's is that
nested references should by handled by prepending of the path to the
parent file to a locally cloned osgDB::Options object that is then
passed on when doing the readImage(..) etc call.  I haven't done the
testing yet to confirm the behaviour in the context of Archives yet
but what in theory should be happening is that the archive should be
added to the Options object on access to it, and suspect this isn't
happening for all usage models.

Could it be that the problems you are seeing a related to this issue?
I'm hopeful that if we sort out the proper prepending of the archive
path to the Options object we won't need to intrusive changes to
osgDB::Registry that you've had to make.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to