From 1122994bfa7a1ea61d3e8bcc262b21954aca2fdd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 9 Dec 2016 12:33:15 +0100 Subject: gui, logic: add neck displacement feature With it enabled, user's neck will be treated as separate from the rotation pivot. Rotating to the left will reposition to the left in addition to the rotation, and so on. This feature is subtle but apparently very popular with DCS users. --- gui/options-dialog.ui | 522 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 333 insertions(+), 189 deletions(-) (limited to 'gui/options-dialog.ui') diff --git a/gui/options-dialog.ui b/gui/options-dialog.ui index 2168fa8d..f49d6cde 100644 --- a/gui/options-dialog.ui +++ b/gui/options-dialog.ui @@ -6,10 +6,16 @@ 0 0 - 450 + 455 599 + + + 0 + 0 + + 450 @@ -337,6 +343,12 @@ + + + 0 + 0 + + Center at startup @@ -874,175 +886,8 @@ Output - - - - - 0 - 0 - - - - - - - Relative translation - - - false - - - - - - With relative mode on, translation is applied after rotation. For example, rotating +180 degrees yaw and moving backwards results in moving forward as a result of that rotation. - - - Qt::AlignJustify|Qt::AlignVCenter - - - true - - - 2 - - - - - - - - - - Enable - - - - - - - QFrame::NoFrame - - - QFrame::Raised - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 3 - 0 - - - - - - - Disable for X - - - - - - - - 3 - 0 - - - - - - - Disable for Y - - - - - - - - 3 - 0 - - - - - - - Disable for Z (for zoom on Z axis) - - - - - - - - 2 - 0 - - - - Disable effect by yaw - - - - - - - - 2 - 0 - - - - Disable effect by pitch - - - - - - - - 2 - 0 - - - - Disable effect by roll - - - - - - - - - - - - 65536 - 65536 - - true @@ -1067,19 +912,6 @@ 6 - - - - Assign input axis to output axis. - - - Qt::AlignJustify|Qt::AlignVCenter - - - true - - - @@ -1452,6 +1284,19 @@ invert_z + + + + Assign input axis to output axis. + + + Qt::AlignJustify|Qt::AlignVCenter + + + true + + + @@ -1510,6 +1355,305 @@ + + + Relative translation + + + + + + + 0 + 0 + + + + + + + Relative translation + + + + + + + 0 + 0 + + + + With relative mode on, translation is applied after rotation. For example, rotating +180 degrees yaw and moving backwards results in moving forward as a result of that rotation. + + + Qt::AlignJustify|Qt::AlignVCenter + + + true + + + 2 + + + + + + + + + + Enable + + + + + + + + 0 + 0 + + + + QFrame::NoFrame + + + QFrame::Raised + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 3 + 0 + + + + + + + Disable for X + + + + + + + + 3 + 0 + + + + + + + Disable for Y + + + + + + + + 3 + 0 + + + + + + + Disable for Z (for zoom on Z axis) + + + + + + + + 2 + 0 + + + + Disable effect by yaw + + + + + + + + 2 + 0 + + + + Disable effect by pitch + + + + + + + + 2 + 0 + + + + Disable effect by roll + + + + + + + + + + + + + Neck displacement + + + + + + Eyes will be offset from the pivot of rotation, assumed to be the neck. Set to zeros in order to disable. + +It also works with relative translation disabled. + + + true + + + + + + + QFrame::NoFrame + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 15 + 0 + + + + Height from center of rotation + + + + + + + + 4 + 0 + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + cm + + + 50 + + + + + + + + 15 + 0 + + + + Forward from center of rotation + + + + + + + + 4 + 0 + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + cm + + + 50 + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 0 + + + + + + Game detection @@ -1544,7 +1688,14 @@ - + + + + 0 + 0 + + + @@ -1607,13 +1758,6 @@ src_z invert_z tracklogging_enabled - tcomp_enable - tcomp_tx_disable - tcomp_ty_disable - tcomp_tz_disable - tcomp_src_yaw_disable - tcomp_src_pitch_disable - tcomp_src_roll_disable -- cgit v1.2.3