Re: [osg-users] serializer again: stream sizes an some questions

2010-04-06 Thread Wang Rui
Hi Torben, It is not amazing if binray streams result in a larger size, especially when saving simple scenes. A possible reason is because the ascii format will only record properties that are non-default, but the binary one always saves all the properties of a class. By the way, please note

Re: [osg-users] serializer again: stream sizes and some questions

2010-04-06 Thread Torben Dannhauer
Hi Wang, thanks for your info! That explains everything with the binary format! I' tested all formats with the compressor, so I discovered already the only binary format is compressable. Thank you very much for this great serializer :))) Cheers, Torben -- Read this topic

[osg-users] serializer again: stream sizes an some questions

2010-04-05 Thread Torben Dannhauer
Hi, I'm working again on my serializer problem and I don't unterstand why my binary stream is as long as my ascii stream. binary should be smaller as ascii I suppose My Testcode code is: Code: // Writing object to stream std::stringstream myOstream; std::string