Hi, I have written a clsuter/network module to transport nodes over network (atm only nodes are serializable, not osg::objects).
I have play a bit with the zlib compressor and the binary and ascii version. My result was a larger binary result as ASCII result of the identical node. I didn't expect this, I always thought ascii format is larger than binary.. Do I miss something, or I just my binary cluster implementation buggy? My Processing-pipline is: - serialize node to std::stringstream - extracting string of stringstream and pass it as chr* to the socket. btw: At the end, when my code is robust and well factored, is there any interest to add a cluster-node to OSG to allow highlevel UDP stream over network? Something like: Code: osg::cluster mycluster = new osg:cluster(); mycluster->init( <port>, <destination address>, <useCompressor>, <asAscii> ); mycluster->sendNode( mynode); .. mynode = mycluster->readNode(); Thank you! Cheers, Torben ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=24419#24419 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org