New hooks implemented in call to DoRotation() inside UpdateCameraMatrix(), to inject an additional rotation for the roll apply the full rotation matrix from headtracking with matrix multiplication. This gets rid of gimbal lock issues and distortions linked to decomposition in Euler angles.
This breaks some things that need to be fixed.
Regular headtracking (non-pose-corrected). I need to check for the parameter before injecting the roll in cockpitlook or it is applied twice (cockpitlook and ddraw). FIXED
the sound (it enters some kind of loop). Maybe the DirectSound3D is impacted by the modified state of the transformation matrix. SteamVR issue, fixed with a restart.
the targeting reticle is not anymore where it should be. The code that calculates its position is not prepared for camera roll.
New hooks implemented in call to DoRotation() inside UpdateCameraMatrix(), to
inject an additional rotation for the rollapply the full rotation matrix from headtracking with matrix multiplication. This gets rid of gimbal lock issues and distortions linked to decomposition in Euler angles.This breaks some things that need to be fixed.
Regular headtracking (non-pose-corrected). I need to check for the parameter before injecting the roll in cockpitlook or it is applied twice (cockpitlook and ddraw).FIXEDthe sound (it enters some kind of loop). Maybe the DirectSound3D is impacted by the modified state of the transformation matrix.SteamVR issue, fixed with a restart.