Hi Glenn,

On Dec 6, 2007 5:22 PM, Glenn Waldron <[EMAIL PROTECTED]> wrote:
> When generating OSGA archives, I need to write the master file last. However
> the OSGA plugin seems to automatically choose the first file added as the
> master.

The present osgDB::Archive is set up to implicitly assign the first
entry as the master file, there is no current means to manually
specify this.  One could tweak the format/interface to add support for
this, but one would need to be mindful of backwards compatibility.

> I am able to work around this by first writing an empty group node as "
> master.ive", and then writing the real master file at the end (with the same
> filename) ... but is there a more elegant solution? Thanks. -gw

You could write all your separate files to a single directory, then
assemble them one by one into the archive.  This will be slower of
course...

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

Reply via email to