Changeset 75 for osgVisual/src


Ignore:
Timestamp:
Jul 25, 2010, 1:46:29 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
osgVisual/src
Files:
4 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
  • osgVisual/src/core/visual_core.cpp

    r73 r75  
    106106                // next frame please....
    107107        viewer->advance();
    108                 std::cout << "New frame----------------------------" << std::endl;
    109108
    110109                /*double hat, hot, lat, lon, height;
  • osgVisual/src/dataIO/dataIO_transportContainer.cpp

    r73 r75  
    2727        ADD_INT_SERIALIZER( FrameID, 0 );
    2828        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) );
    3229        ADD_LIST_SERIALIZER( Executer, osgVisual::dataIO_transportContainer::executerList );
    3330        ADD_LIST_SERIALIZER( IOSlots, osgVisual::dataIO_transportContainer::slotList );
  • osgVisual/src/dataIO/visual_dataIO.cpp

    r73 r75  
    8282        if(cluster.valid())
    8383                //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);
    8585
    8686        // Create extLink.
Note: See TracChangeset for help on using the changeset viewer.