Changeset 75 for osgVisual/src
- Timestamp:
- Jul 25, 2010, 1:46:29 PM (14 years ago)
- Location:
- osgVisual/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/cluster/dataIO_clusterENet.cpp
r74 r75 125 125 sendContainer->setFrameID(viewer->getFrameStamp()->getFrameNumber()); 126 126 sendContainer->setViewMatrix(viewer->getCamera()->getViewMatrix()); 127 osg::Vec3d eye, center, up;128 viewer->getCamera()->getViewMatrixAsLookAt(eye,center,up);129 sendContainer->setEye(eye);130 sendContainer->setCenter(center);131 sendContainer->setUp(up);132 //std::cout << "sending lookat: eye:"<<eye<<", center:"<<center<<", up:" << up << std::endl;133 127 134 128 // Writing node to stream … … 188 182 // Restore Viewmatrix 189 183 viewer->getCamera()->setViewMatrix(sendContainer->getViewMatrix()); 190 //viewer->getCamera()->setViewMatrixAsLookAt(sendContainer->getEye(),sendContainer->getCenter(),sendContainer->getUp());191 //std::cout << "receiving lookat: eye:"<<eye.x()<<", center:"<<center<<", up:" << up << std::endl;192 184 } 193 185 else -
osgVisual/src/core/visual_core.cpp
r73 r75 106 106 // next frame please.... 107 107 viewer->advance(); 108 std::cout << "New frame----------------------------" << std::endl;109 108 110 109 /*double hat, hot, lat, lon, height; -
osgVisual/src/dataIO/dataIO_transportContainer.cpp
r73 r75 27 27 ADD_INT_SERIALIZER( FrameID, 0 ); 28 28 ADD_MATRIXD_SERIALIZER( ViewMatrix, osg::Matrixd() ); 29 ADD_VEC3D_SERIALIZER( Eye, osg::Vec3d(-1.0, -1.0, -1.0) );30 ADD_VEC3D_SERIALIZER( Center, osg::Vec3d(-1.0,-1.0,-1.0) );31 ADD_VEC3D_SERIALIZER( Up, osg::Vec3d(-1.0,-1.0,-1.0) );32 29 ADD_LIST_SERIALIZER( Executer, osgVisual::dataIO_transportContainer::executerList ); 33 30 ADD_LIST_SERIALIZER( IOSlots, osgVisual::dataIO_transportContainer::slotList ); -
osgVisual/src/dataIO/visual_dataIO.cpp
r73 r75 82 82 if(cluster.valid()) 83 83 //cluster->init(arguments_, clusterMode, slotContainer, true, false); 84 cluster->init(arguments_, viewer_, clusterMode, slotContainer, false, true);84 cluster->init(arguments_, viewer_, clusterMode, slotContainer, false, false); 85 85 86 86 // Create extLink.
Note: See TracChangeset
for help on using the changeset viewer.