Hi Robert,

Please find attached an extended ZIP plugin. This version makes use of two 
additional files unzip.h and unzip.cpp, the license arrangements of which I 
think are fine, but you might like to cast your eye over it - see the top of 
the .cpp file for this info.

The plugin permits the decompression of the ZIP file in memory, and passes the 
stream contents onto the relevant handlers. This feature is enabled via an 
option "ZIPEXTRACTINMEMORY". Without this, the standard zip extraction code is 
called.
Also included in this modification is the stream handler as well. Thus if the 
Curl plugin downloads a zip file, the zip plugin will now handle that as well.

I've only been able to test on Windows Vista, and it appears to work fine. I 
haven't changed the make files as its outside my comfort zone. Would you be 
able to do this, or could you tell me what I need to do?

Using this code, coupled with the 3DS stream submission I made recently, I can 
now stream 3DS files over the internet to either a desktop viewer, or an 
ActiveX viewer on a web page. Any plugin that handles streams should also work.

Kind regards

Neil.

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

Reply via email to