ENH: VR support for Vulkan renderer
VR support for Vulkan renderer. This turned out to be a lot of work, but also led to some improvements in the Vulkan renderer and interactor classes.
Status:
-
Corrected image layout transitions -
Added additional framebuffer images in (low?) dynamic range to send to the headset -
Headset displays two images now -
Apply HMD transformation to camera -
Refactor interactor classes for Vulkan -
Implement stereo instanced rendering1 -
Update shaders to account to stereo rendering -
Load/render controllers -
Calculate the correct the camera position shader variables for VR mode -
Identify performance bottlenecks and fix -
Clean up destructor for Vulkan renderer -
Fixed bug with uploading static mesh data
Known issues:
- The validation layer is ironically complaining about image layout issues, but I can't identify the images that they affect. This may be internal to OpenVR, and perhaps updating OpenVR can fix these.
Edited by Nicholas Milef
Merge request reports
Activity
added 1 commit
- 716f1d05 - ENH: added VR support to Vulkan, also corrected image layouts in renderpasses
added Topic: Rendering Type: new feature labels
added 2 commits
added 1 commit
- a93d5b07 - WIP: added controller models and fixed performance
added 11 commits
-
a93d5b07...fe4fdef0 - 3 commits from branch
iMSTK:master
- 158f4324 - CLEANUP: moved VR controls to VTK folder
- e14e0f31 - ENH: first VR MR for Vulkan
- 7d4be260 - Fixed the linker issue
- 07fa7b64 - ENH: added VR support to Vulkan, also corrected image layouts in renderpasses
- a1a91da6 - WIP: added HMD tracking
- a3294f6a - ENH: added stereo VR support
- 8752c948 - WIP: added controllers
- fa5f94b5 - WIP: added controller models and fixed performance
Toggle commit list-
a93d5b07...fe4fdef0 - 3 commits from branch
@NickMilef will test soon as the HMD is out for a conference!
added 23 commits
-
0d8abc31...b4e91fb0 - 11 commits from branch
iMSTK:master
- 5afd536c - CLEANUP: moved VR controls to VTK folder
- 79e8ae2f - ENH: first VR MR for Vulkan
- 46605c34 - Fixed the linker issue
- d31ee881 - ENH: added VR support to Vulkan, also corrected image layouts in renderpasses
- c722ab6b - WIP: added HMD tracking
- a03f1721 - ENH: added stereo VR support
- 6f427a20 - WIP: added controllers
- bbd75a3e - WIP: added controller models and fixed performance
- ed8e6f34 - WIP: made some fixes to interactor style
- 68c3b95d - WIP: tried to improve bug
- 62482c4c - ENH: added function to retrieve VR system pointer
- e91f5604 - BUG: removed duplicate callback functions
Toggle commit list-
0d8abc31...b4e91fb0 - 11 commits from branch
added 6 commits
- 2679b9ae - ENH: first VR MR for Vulkan
- 1a83d28c - ENH: added VR support to Vulkan, also corrected image layouts in renderpasses
- d6691d93 - ENH: added VR support with HMD tracking
- 3eab2d68 - ENH: added controller support and rendering to Vulkan VR
- c604d320 - ENH: added function to retrieve VR system pointer
- 4801c896 - BUG: removed duplicate callback functions
Toggle commit list
Please register or sign in to reply