Hi Terry, On 11 March 2012 01:58, Terry Welsh <[email protected]> wrote: > I think your osgDB::Options idea is mostly working for finding > references in the same archive as the parent. I find that this works > when the reference is just a filename, but it fails if the filename > comes with a path, such as the absolute path that an exporter might > give you. This should probably be fixed regardless of whatever else > we do on this subject. > > This could probably be made to work if a call to getSimpleFileName() > was inserted somewhere along the way, but I don't see a good place to > put it yet. Somewhere in Registry::read()? Or in the archive plugin? > Any suggestions on this one?
I've been working on various other topics over the last month so will need to spend some time getting back familiar with it again. I think the best thing to do would be to create a series of test models and usages that flesh out what we want to achieve. The osgarchive example could possibly be extended to have a unit test section, and we could add some simple archive models to OpenSceneGraph-Data. Could you make some suggestions about some simple example data and usages that we can put together to test the specific issues you are seeing. Thanks, Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
