Changes

Jump to: navigation, search

Canvas Draw

619 bytes added, 17:43, 21 December 2018
m
HUD Parser
In both cases the aim is to remove legacy OpenGL 1.x code, since these are some of the awkward remaining pieces.<ref>https://sourceforge.net/p/flightgear/mailman/message/36399261/</ref>
 
 
HUD files are PropertyList-encoded XML files, typically in the form of:
 
* {{Fgdata file|Huds/minimal.xml}}
* {{Fgdata file|Huds/default.xml}}
* {{Fgdata file|Huds/f16.xml}}
 
HUDs consist usually of several building blocks, separately stored under $FG_ROOT/Huds/Instruments: https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Huds/Instruments/
 
* {{Fgdata file|Huds/Instruments/compass.xml}}
* {{Fgdata file|Huds/Instruments/ladder.xml}}
* {{Fgdata file|Huds/Instruments/turn-bank-indicator.xml}}
 
As can be seen, the building blocks needed for a HUD would directly map to 2D drawing API for creating avionics.
== HUD Widgets ==
18,309
edits

Navigation menu