如何在多台PC之间同步动画? [英] How to synchronize animations among multi-PC ?

查看:116
本文介绍了如何在多台PC之间同步动画?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


 


 我想用多台电脑(多屏幕)来展示一个巨大的动画,最大的问题是如何在多台PC之间同步动画?  


 


例如。水平线开始同时在10台PC上从上到下移动,或从下往上移动....


 


现在我使用tcp / ip在这些PC之间构建CS结构套接字连接,服务器向这些客户端发送命令,告诉他们移动。


但问题是他们没有同时开始行动!有些时间是同步的,有些时候不是!!!


 


如何在WPF中解决这个问题?


 


谢谢。

解决方案

您好


您必须遵循构建复合应用程序的模式


http://msdn.microsoft.com/en-us/magazine/cc785479.aspx


与Prism模式一样


http://msdn.microsoft.com/en-us/library/ff648611.aspx


Reguards


Hi all

 

  I wanna use multi-pc (multi-screen) to show a huge animation, the big problem is how to synchronize animations among multi-PC ?  

 

e.g. a horizontal line begin  move from top to bottom on 10 PC at the same time, or move from bottom to top....

 

now I use tcp/ip to build a CS structure socket connection among these PCs ,  the server send command to these clients, tell them to move.

but the problem is they did NOT begin move at the same time !! some time is synchronous, some time IS NOT !!!

 

How to solve this problem in WPF?

 

thanks.

解决方案

Hi

You have to follow a pattern of building composite applications

http://msdn.microsoft.com/en-us/magazine/cc785479.aspx

Like Prism pattern

http://msdn.microsoft.com/en-us/library/ff648611.aspx

Reguards


这篇关于如何在多台PC之间同步动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆