Changeset 75 for osgVisual/src/cluster


Ignore:
Timestamp:
Jul 25, 2010, 1:46:29 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/cluster/dataIO_clusterENet.cpp

    r74 r75  
    125125                sendContainer->setFrameID(viewer->getFrameStamp()->getFrameNumber());
    126126                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;
    133127
    134128                // Writing node to stream
     
    188182                                        // Restore Viewmatrix
    189183                                        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;
    192184                                }
    193185                                else
Note: See TracChangeset for help on using the changeset viewer.