Re: [Plib-users] Multithreading in FG
Brought to you by:
sjbaker
From: Hemalatha S. <hem...@re...> - 2006-08-30 18:06:55
|
=A0=0AHi,=0AYes U are correct!=0AThere are 3 separate physical displays ea= ch with it's own program and each receiving network input from one system(e= ach system has to process and render independently)=0A=0Ayes "send a done s= ignal" mean that the left and right programs send a=0Anetwork message to th= e center system( we are using here a flag=3D0/1 concept)=0A=0AThe main prob= lem if they are not synced is -All three views keep updating in different r= ates which is not good to visualize)=0ABy synchronization i mean all three = views should update at same rate=0A[ie when u are rolling imagine how cente= r ,left ,right view will look updating at diff rate] =0A=0ARegards,=0AHemal= atha=0A=0AOn Wed, 30 Aug 2006 Stuart McDonald wrote :=0A>Hi,=0A>=0A> Som= e more information would be helpful. You say 3 projector screens=0A>and 3 s= ystems; is that=0A>3 separate physical displays each with it's own program = and each=0A>receiving network input?=0A>Does "send a done signal" mean that= the left and right programs send a=0A>network message to=0A>the center sys= tem? If you don't sync them what problems does this cause?=0A>i.e. if each = program=0A>were running at 60fps would anyone notice if they weren't sync'e= d?=0A>=0A>Or if it's not 3 separate programs are you saying that data can c= ome in=0A>(say speed) and=0A>associated data (say direction) can arrive lat= er and you don't want to=0A>display out of sync=0A>information? If so then = hat's an input problem, not rendering.=0A>=0A>--Stuart.=0A>We are trying to= project three views(center,left,right) on to three=0A>projector screens.Ai= rcraft data(lat,lon,alt etc) is sent to these three=0A>systems from one sys= tem through ethernet.=0A>=0A>We need to synchronize all the three views.=0A= >=0A>We have tried one of the mechanism to synchronize.......=0A>=0A>Before= swapping buffers, the left and right systems send done signal to=0A>the ce= nter system.Once the center system recieves done signal from both=0A>the sy= stems, it sends release signal to both the system saying that it=0A>can swa= p the buffers.=0A>By doing this there was some improvement seen but with so= me delay.=0A>=0A>=0A |