When we were developing the Multiplayer code, we tested a crude but
simple replay mechanism.

Using tcpdump we captured the multiplayer broadcast packets to a file.
We then used a simple program that read the captured data (used libpcap)
and put the packets back on the network as if Flightgear had generated
them.

Multiple different flights were recorded with each flight having a
different callsign. We then replayed the data files in parallel to
multiple instances of Flightgear on separate computers. The effect was
to see multiple aircraft flying around a control tower view. Each
Flightgear instance was set show a different 45 degree view from the
tower. We had four computers set to provide a 180 degree view of the
airport.

The update rate of the recorded aircraft was controlled by the rate of
multiplayer output and input used for recording and playback.

Regards,
Duncan McCreanor.



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to