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 that

[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 extensi