Hi wang Sorry to break into the thread, but - have you considered using zlib with the binary format ? Zlib can read compressed or uncompressed files or streams transparently. In my experience on modern hardware it has no performance hit (the extra CPU balances the reduced data transfer). It also includes routines to verify the data integrity.
Although you obviously get more compression with the text format there is an issue with writing uncompressed text. Zlib has a no-compression output mode but it writes checksums into the data so you can't edit the resulting text files - a compressed OSG writer would also need a separate raw stream. This wouldn't be a problem for a binary file format. Zlib is free and released under a very permissive license. Martin ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22835#22835 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
