Re: [osg-users] How to work with zip archives?

2017-11-19 Thread Robert Osfield
Hi Michael, It's probably a decade or more since I did anything with osgDB::Archive and associated plugins so I'm pretty rusty. Have a look at the osgarchive application in OpeScneneGraph/applications/osgarchive. It should be case of doing a osgDB::openArcive(..) then doing readNodeFile() etc

Re: [osg-users] How to work with zip archives?

2017-11-18 Thread Julien Valentin
Hi You cannot use osg zip plugin to read arbitrary zip file... Nevertheless osgDB serializer have several interfaces (Image,Object,Node,Archive,HeightField) that can be implemented in a plugin to read/write these osg types. So one could create its own class heriting one of the interfaces and/or

[osg-users] How to work with zip archives?

2017-11-18 Thread michael kapelko
Hi. Can anyone provide example on how to work with zip archives? I see there is a zip plugin but I can't find any example with it. I want to read my zips from memory because I do not read them from disk, I have them built into the application. Any clues? Thanks.