The standard method (using gzip and appending a .gz to the .wrl file)
already gets 8:1 compression on most files. Gzip is probably finding
about a million instances of "Separator" and reducing it to a single byte
and finding lots of numbers and compressing the hell out of those. I
think it would be tough to beat this by much with a specific binary
format. A binary format would speed decompression (because it wouldn't
need any) and maybe parsing but I'm not sure it would be a big win...
-- chris marrin Silicon http://www.sgi.com/Products/WebFORCE/WebSpace (415) 390-5367 Graphics ," http://reality.sgi.com/employees/cmarrin/ [email protected] Inc. b` , ,,. mP b" , 1$' ,.` ,b` ,` :$$' ,|` mP ,` ,mm ,b" b" ,` ,mm m$$ ,m ,,`P$$ m$` ,b` .` ,mm ,.`'|$P ,|"1$` ,b$P ,,` :$1 b$` ,$: :,`` |$$ ,:` $$` ,|` ,$$,,`"$$ .` :$| b$| _m$`,:` :$1 ,:` ,$Pm|` ` :$$,..;"' |$: P$b, _;b$$b$1" |$$ ,,`` ,$$" ``' $$ ```"```'" `"` `""` ""` ,P` "As a general rule, don't solve puzzles that open portals to Hell."-...-' - excerpt from "A Horror Movie Character's Survival Guide"