©2004,2008 Jim E. Brooks http://www.palomino3d.org
[2008/08]
zlib is used to decompress data files that were compressed by gzip. The base module has the low-level ReadFileGzip() function, and the C++ stream class gzstream.
Implemented in ModelCache:
Compressed 3D models are read from a .gz file using the C++ gzstream class
which is based on zlib, then gzstream is passed to osgDB::ReaderWriter::readNode(std::istream&).
A consequence is that OSG must be notified of all directories
that contains graphics assets referenced by the 3D model file.
Last modified: Sun Aug 3 10:40:16 EDT 2008