Changeset 69 for osgVisual/src/dataIO


Ignore:
Timestamp:
Jul 20, 2010, 10:44:13 AM (14 years ago)
Author:
Torben Dannhauer
Message:

Network sync:
now works:

  • serialization of transport container
  • transport via ENet UDP
  • de-serialization of the transport container.
  • transport of viewmatrix and framenumber to the slave.

ToDo?: apply viewmatrix on slave still do not work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/dataIO/visual_dataIO.cpp

    r67 r69  
    7878        #ifdef USE_CLUSTER_ENET
    7979                cluster = new dataIO_clusterENet();
     80                cluster->enableHardSync( false );       /** \todo : rebuild this structure in cluster.h and move it this way to a general implementation. */
    8081        #endif
    8182        if(cluster.valid())
    82                 cluster->init(arguments_, clusterMode, slotContainer, true, false);
     83                //cluster->init(arguments_, clusterMode, slotContainer, true, false);
     84                cluster->init(arguments_, viewer_, clusterMode, slotContainer, false, true);
    8385
    8486        // Create extLink.
Note: See TracChangeset for help on using the changeset viewer.