Hi Ulrich, On Sun, May 24, 2009 at 6:00 PM, Ulrich Hertlein <[email protected]> wrote: > Hi all, > > have there been any recent changes in the .zip loader? I just noticed that > I can no longer load a bunch of zipped .x files. OSG_NOTIFY_LEVEL=DEBUG > shows that all plugins are found (.zip, .x, .bmp) but I still get 'No data > loaded' from osgviewer. > > If I unpack the .zip file and load the .x directly everything is fine.
Arggh.... two steps forward, one back... As Neil mentioned I'ved merged his changes to the zip plugin to allow in memory unpacking, and it then use istreams to read the final modes, and it looks like the .x plugin doesn't support reading from streams yet. There are lots of benefits with doing in memory unpacking of zip files, such being able to read them from streams making it possible to handle models zipped up and placed on http. The ideal solution would be to add streams support into .x plugin and any others that it's missing for. Another missing bit of the jigsaw is adding osgDB::Archive support into the zip plugin so it can allow the model to be loaded and then any other internally stored images to be loadable at the same time. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

