Hello Boto,

what do you think about this idea?

There is a zip plugin, I've never used it but I think it just gets one file from a zipped file. Not sure.

You could easily make a pseudoloader to do this I think, so that you could load files of the form

mymodel.osg.myarchivefile.pak

which would load mymodel.osg from a pak file called myarchivefile.pak (which could just be a renamed zip file). The loader would then have to convert the file names that mymodel.osg references to the <filename>.myarchivefile.pak form so that they're loaded correctly, for example if the osg file references textures which are also located in the pak file. But I don't think it's particularly hard, except for some corner cases such as where to split the filenames (because of course, they might have dots in them anywhere...)

It would indeed be an interesting plugin to have. Kind of a generalized form of .ive or .osga files (which I believe only contain one model/database).

(note that some or all of what I say above might be wrong, I am not an expert on the OSG file formats, I just use them).

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to