Head tracking

From FlightGear wiki
Revision as of 20:43, 30 May 2016 by Johan G (talk | contribs) (→‎Related content: + link: FGData/Nasal/view.nas; + Developer mailing list threads)
Jump to navigation Jump to search

Head tracking or face tracking is when the in-sim view follows your head movements. This is usually scaled down, making it possible to look directly aft in FlightGear while in real life turning your head no more than that you still can see the entire screen.

This can be done from as simple as only horizontal panning all the way to following both rotation and movement round and along all three axis. This is often referred to as degrees of freedom (DoF). Simple panning would be 1 DoF while all rotations and translations would be 6 DoF.

Though there is no head tracking built into FlightGear (as of may 2016) there are still various ways to achieve that.

Head tracking methods

There are many ways to do head tracking. The ones cheapest to implement will use your web camera and will follow your face or some markers to figure out where your head is and how it is rotated.

Some ways will use IR cameras, either using LED light markers or a single IR light at the camera and some reflective markers. The last method is used by some of the more popular commercial products.

Using head tracking in FlightGear

As FlightGear is very flexible there are many ways head tracking could be implemented. Often some external head tracking software will interface with FlightGear such that the rotations and translations is read into properties that in turn are used for panning and moving the view.

Related content

Wiki articles

Forum topics

Developer mailing list threads

Source code