Hi Glen,

On Jan 22, 2008 1:59 AM, Glenn Waldron <[EMAIL PROTECTED]> wrote:
> OK understood - I agree that it's not the most elegant solution - in any
> case I think I can work around it n the meantime by referencing the full
> archive path in the texture def ( e.g. archive.osga/texture.jpg).

I do wonder if the findFileInPath is where the action should be - as
this is in affect what we are doing here.  Prehaps we could have
findFIleInPath, a findFIleInArchives, find FileInArchivesOrPaths type
of thing.  Perhaps if we change the findFileInPath just to be aware of
archives so that it becomes it checks them.   The findFileInPath would
be a convenient mechanism as it could is encapsulated and fits with
concept that an archive can be treated as a directory.

The findFileInPath route would pass back a filename that includes the
archive name, and something that can only be opened the archives, and
not by the plugins that actually call findFileInPath, so that plugins
themselves would need to be tweaked a little so that they can support
reading from an archive path.

 > I will work on this and submit it separately. Thanks -gw

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

Reply via email to