Prof-Butts / Hook_XWACockpitLook

X-Wing Alliance mouse hook with support for VR head-tracking
6 stars 1 forks source link

Pose prediction jitter fix #8

Closed morallo closed 2 years ago

morallo commented 2 years ago

Companion PR to https://github.com/Prof-Butts/xwa_ddraw_d3d11/pull/46

morallo commented 2 years ago

I have made the new tracking optional. You need to add a new config value to CockpitLook.cfg to enable it:

; Experimental alternative head tracking implementation with SteamVR to reduce jitter
; and improve performance. This corrects the pose prediction used by CockpitLook with
; the actual pose of the HMD at the time of rendering in ddraw.dll.
; It will also disable positional tracking in CockpitLookHook, and it will be applied only later in ddraw.dll
pose_corrected_headtracking = 1