bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

Calculation of projectionCenterMatrix need to factor in distortion scale for correct FOV #6

Closed bjornblissing closed 11 years ago

bjornblissing commented 11 years ago

Should include something like the SDK version:

float percievedHalfRTDistance = (HMD.VScreenSize / 2) * Distortion.Scale;
YFov = 2.0f * atan(percievedHalfRTDistance/HMD.EyeToScreenDistance);
bjornblissing commented 11 years ago

Already solved in: 6a265959f85ca16d097faf8c4e1f587c90d32219