Changeset 70 for osgVisual/src/cluster
- Timestamp:
- Jul 20, 2010, 9:24:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/cluster/dataIO_clusterENet.cpp
r69 r70 125 125 sendContainer->setFrameID(viewer->getFrameStamp()->getFrameNumber()); 126 126 sendContainer->setViewMatrix(viewer->getCamera()->getViewMatrix()); 127 sendContainer->setProjectionMatrix(viewer->getCamera()->getProjectionMatrix()); 127 128 128 129 // Writing node to stream … … 134 135 { 135 136 // Send Data via ENet: 136 OSG_NOTIFY( osg::ALWAYS ) << "dataIO_clusterUDP::sendTO_OBJvaluesToSlaves() - Bytes to send: " << myOstream.str().length() << std::endl;137 // sOSG_NOTIFY( osg::ALWAYS ) << "Send: " << myOstream.str() << std::endl;137 //OSG_NOTIFY( osg::ALWAYS ) << "dataIO_clusterUDP::sendTO_OBJvaluesToSlaves() - Bytes to send: " << myOstream.str().length() << std::endl; 138 //OSG_NOTIFY( osg::ALWAYS ) << "Send: " << myOstream.str() << std::endl; 138 139 ENetPacket * packet = enet_packet_create (myOstream.str().c_str(), 139 140 myOstream.str().size(), … … 163 164 if (bytes_received > 0 ) 164 165 { 165 OSG_NOTIFY( osg::ALWAYS ) << "dataIO_clusterENet::readTO_OBJvaluesFromMaster() - Bytes received: " << bytes_received << std::endl;166 //OSG_NOTIFY( osg::ALWAYS ) << "dataIO_clusterENet::readTO_OBJvaluesFromMaster() - Bytes received: " << bytes_received << std::endl; 166 167 //OSG_NOTIFY( osg::ALWAYS ) << "Received: " << std::endl << receivedTransportContainer << std::endl; 167 168 … … 177 178 if (sendContainer) 178 179 { 179 OSG_NOTIFY( osg::ALWAYS ) << "Received:: FrameID is: " << sendContainer->getFrameID() << std::endl;180 // Restore Viewmatrix 180 OSG_NOTIFY( osg::ALWAYS ) << "Received:: Settings Viewmatrix...FrameID is: " << sendContainer->getFrameID() << std::endl; 181 // Restore Viewmatrix / Projectionmatrix 181 182 viewer->getCamera()->setViewMatrix(sendContainer->getViewMatrix()); 183 //viewer->getCamera()->setProjectionMatrix(sendContainer->getProjectionMatrix()); 182 184 } 183 185 else
Note: See TracChangeset
for help on using the changeset viewer.