Hi Harald,

have a look at the osgcluster example. You can see there syncing of viewers
across machines based on the simulation time

Nick


On Tue, Jun 17, 2014 at 9:22 PM, Harald Müller <lacky19102...@yahoo.de>
wrote:

> Hi Robert,
>
> of course you're right, but the problem is the SimulationTime has nothing
> to do with the progress of the animation ... :O
> So if I start a Client 5 Seconds later, and it gets Server-Time 5000 the
> animation doesn't start at time 5 Sec, it starts from the beginning ...
>
> To take your example, this gives exactly the same result:
>
> Code:
> mySimulationTime= 0;
> while(!viewer.done())
> {
> viewer.frame(mySimulationTime);
> mySimulationTime+=0.01f;
> }
>
>
> as this:
>
> Code:
> mySimulationTime= 100;
> while(!viewer.done())
> {
> viewer.frame(mySimulationTime);
> mySimulationTime+=0.01f;
> }
>
>
>
> both start from the beginning.
>
> Thank you!
>
> Cheers,
> Harald
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=59793#59793
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to