Re: [Plib-users] Multithreading in FG
Brought to you by:
sjbaker
From: Stuart M. <stu...@bl...> - 2006-08-30 06:52:38
|
Hi, Some more information would be helpful. You say 3 projector screens and 3 systems; is that 3 separate physical displays each with it's own program and each receiving network input? Does "send a done signal" mean that the left and right programs send a network message to the center system? If you don't sync them what problems does this cause? i.e. if each program were running at 60fps would anyone notice if they weren't sync'ed? Or if it's not 3 separate programs are you saying that data can come in (say speed) and associated data (say direction) can arrive later and you don't want to display out of sync information? If so then hat's an input problem, not rendering. --Stuart. We are trying to project three views(center,left,right) on to three projector screens.Aircraft data(lat,lon,alt etc) is sent to these three systems from one system through ethernet. We need to synchronize all the three views. We have tried one of the mechanism to synchronize....... Before swapping buffers, the left and right systems send done signal to the center system.Once the center system recieves done signal from both the systems, it sends release signal to both the system saying that it can swap the buffers. By doing this there was some improvement seen but with some delay. |