]> git.mxchange.org Git - flightgear.git/commit
Andy wrote:
authorehofman <ehofman>
Fri, 21 Mar 2003 15:02:23 +0000 (15:02 +0000)
committerehofman <ehofman>
Fri, 21 Mar 2003 15:02:23 +0000 (15:02 +0000)
commit4c55a5aeb4dd0a3db81e2469e0745df4f6868688
tree4543c950dff8e8d5959a98e76a1d007a0ef9fad0
parenta4d1b0902e46ad437cadbc6af9ff777fc57372aa
Andy wrote:

This is just a port of an old 3D HUD patch to the new view code.
This pans the HUD with the view, by pasting it onto a quad fixed in front of the viewer.  It also fixes the awful, arbitrary scaling problems the HUD code has.  The old HUD only looks right when viewed at 1024x768 and 55 degree FOV.  This works the scale out magically so that it looks right in all views.  It also redefines the "<compression-factor>" tag in the ladder to (1) mean compression instead of expansion and (2) have non-psychopathic units (now "1" means 1 degree per degree).  Fix this in your existing HUD ladder files before reporting bugs.  It's definitely a cosmetic win -- the velocity vector points at the right thing and the horizon lines up properly.

Norman wrote:

I have created a modified version of Andy's patch that implements the 3D HUD as the 'normal' and the 2D HUD as the 'minimal' HUD.   < i > and < shift I > keys
src/Cockpit/cockpit.cxx
src/Cockpit/cockpit.hxx
src/Cockpit/hud.cxx
src/Cockpit/hud.hxx
src/Main/main.cxx