-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenVR and OpenXR symmetric and other projection matrix options (#196)
* naive symmetric projection for OpenVR * WIP OpenXR symmetric projection * first cut of OpenXR symmetric projection matrices - desparately needs tidying up but appears to work correctly * tweak a calculation the looked upside down (but is hard to tell with Index's almost vertically symmetric projection) * WIP * more WIP - reworked bounds and FOV calculations to reduce mess; still need to verify OpenXR signs * wip * wip * corrected various calculations; added mirrored projections * add option to grow the render target to accommodate projection cropping with no image quality loss (at the expense of performance) * revert commit hash change * fix memory leak; first part of changes following PR comments * more tidy up - cache the results of the eye projection and texture bounds / scaling calculations * only get the eye positions once per framework sync * ensure changes to near clipping plane trigger eye matrix derivation; added original FOV to log messages when deriving eye matrices * fix incorrect vertical matched for openVR * Remove unused CommitHash.hpp --------- Co-authored-by: praydog <praydog@praydog.com>
- Loading branch information
1 parent
8b2fc9f
commit 9074c01
Showing
9 changed files
with
298 additions
and
102 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.