--- tangyong wrote: > Hi Curt, > > Just as you and Stuart said,the main reason of jittering is the > inconsistent frame rate.But I find that if several FG clients connect > to a local server ''fgms'',each client can see each other correctly and > the flight is smooth,no jittering.Is there no fps varying when we use > multiplayer function just like this: > > Player1 > --multiplay=out,10,serveraddress,5002 --multiplay=in,10,myaddress,5002 > --callsign=player1 > Player2: > --multiplay=out,10,serveraddress,5002 --multiplay=in,10,myaddress,5002 > --callsign=player2 > > Then I modify the server to let it don't transmit Player2's velocity and > acceleration data to Player1.I find that even I use a very low in/out > frequency(1hz) in Player2 while the Player1's in/out =10hz,the > Player2's flight still looks very smooth in Player1,no jittering.I > don't see much changing than I use Player2's in/out=10hz,and transmit > the velocity and acceleration data.why?what the difference bewteen > them?
Just to clarify your question: You want to know what the --generic I/O has a jitter problem but --multiplay doesn't? The simple reason is that the MP protocol code is clever and does various calculations to ensure that the aircraft smoothly interpolates from one position to another. In comparison, the generic protocol simply stuffs the values into the property tree. -Stuart ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel