Last active
April 9, 2018 18:50
-
-
Save getnamo/d370b60f97a45848bab832d39ee02b37 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*UE4 Reported Values from Projection Matrices | |
DK2 | |
[0.92991 0 0 0] | |
[0 0.75097 0 0] | |
[??? ??? 0 1] | |
[0 0 10 0] | |
CV1 | |
[1.190342 0 0 0] | |
[0 0.999788 0 0] | |
[-0.148592 0.110690 0 1] | |
[0 0 10 0] | |
Vive | |
[0.756892 0 0 0] | |
[0 0.681268 0 0] | |
[-0.056316 0.003274 0 1] | |
[0 0 10 0] | |
*/ | |
/* | |
Projection Matrix formulas | |
[s 0 0 0 ] | |
[0 s 0 0 ] | |
[0 0 -f/(f-n) -1] | |
[0 0 -fn/(f-n) 0 ] | |
where s=1/(tan((fov/2)*pi/180)) | |
*/ | |
/* | |
google s calc formula | |
1/(tan((x/2)*pi/180)) | |
google fov calc formula | |
arctan(1/s)*360/pi*/ | |
Results: | |
hmd | |
hs hfov | |
vs vfov | |
dk2 | |
0.92991 94.159880 | |
0.75097 106.189099 | |
vive | |
0.756892 105.756425 | |
0.681268 111.469296 | |
cv1 | |
1.190342 80.066880 | |
0.9997888 90.012102 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey does these values still hold for Vive