Hackathon Proposal: Multiplayer Improvements

From FlightGear wiki
Jump to navigation Jump to search


Title: Multiplayer Improvements

Sponsors: MariuszXC
Interested Parties: MariuszXC
Status: n/a
Summary: Improving ground-referenced presentation of remote players' planes
Background: forum topic https://forum.flightgear.org/viewtopic.php?f=4&t=39846
Details: Due to scenery differences some aircraft are shown partially sunk or floating, even when their GND flag is true.
Required skills: Nasal
Learning Opportunities:
Notes:
References

Progress during the Hackaton

Under the topic of Multiplayer Improvements we actually worked on two issues:

  • ground reference of remote aircraft,
  • tracing a cause of low resolution remote aircraft model displayed together with the cockpit model.

With the first issue we had success applying the necessary corrections, so a model does not appear floating or partially sunk. Since the offset needed to be applied to a low-res model and to the high-res may be different, we are investigating further on how to dynamically decide which needs to be applied.

With the second issue we identified the cause of the problem, defined a solution and are working on implementing it.


Progress after the Hackaton (current state)

We tested a solution to the second problem and found it working. We are now waiting for a code review.

Update: Code review passed with success. As of commit ID bda359 our solution is in Flight Gear.