Prof-Butts / xwa_ddraw_d3d11

Direct3D 11 implementation of DDraw.dll for XWA with VR support and New Shaders
MIT License
6 stars 4 forks source link

Fixed pitch,yaw order in pose_corrected_headtracking = 1 mode #47

Closed morallo closed 2 years ago

morallo commented 2 years ago

I realized the largest tracking error I was suffering was due to applying pitch before raw when constructing the inverse matrix for the CockpitLook transform.

With the proper order, the tracking is almost fine, although there is some distortion that now is (I believe, again) similar to the one observed in the hangar.