OpenXR samples and preview headers for HoloLens and Windows Mixed Reality developers familiar with Visual Studio
Перейти к файлу
yl-msft 65f4723052
Update sample with latest XrUtility, SDK 1.0.29, and bug fixes. (#126)
* Update xrutility and samples

* Update to 1.0.29 headers

* Remove unused NVOF lib.
2023-09-05 15:07:26 -07:00
openxr_preview/include Update sample with latest XrUtility, SDK 1.0.29, and bug fixes. (#126) 2023-09-05 15:07:26 -07:00
samples Update sample with latest XrUtility, SDK 1.0.29, and bug fixes. (#126) 2023-09-05 15:07:26 -07:00
shared Update sample with latest XrUtility, SDK 1.0.29, and bug fixes. (#126) 2023-09-05 15:07:26 -07:00
.clang-format Add openxr_preview headers and related samples (#35) 2020-02-22 11:33:18 -08:00
.gitattributes Update samples to release 110 (#101) 2022-02-16 11:22:09 -08:00
.gitignore Update to 1.0.9 SDK (#44) 2020-06-06 10:37:44 -07:00
BasicXrApp.sln Update samples to release 111 (#108) 2022-06-20 18:11:49 -07:00
Directory.Build.props Add XR_MSFT_scene_understanding_preview extension (#67) 2020-10-15 22:55:28 -07:00
Directory.Build.targets Bring Bryce's fix for recent build break due to VS 16.7.1 upgrade. (#57) 2020-08-17 21:25:19 -07:00
LICENSE Update samples including SceneUnderstand extension preview2 (#74) 2021-01-11 17:56:34 -08:00
NOTICE Update samples including SceneUnderstand extension preview2 (#74) 2021-01-11 17:56:34 -08:00
README.md Update sample with latest XrUtility, SDK 1.0.29, and bug fixes. (#126) 2023-09-05 15:07:26 -07:00
SECURITY.md Microsoft mandatory file (#106) 2022-05-24 17:36:01 -07:00
Samples.sln Update samples to release 111 (#108) 2022-06-20 18:11:49 -07:00
WinXR.wprp Add WPRP profile for tracing. (#102) 2022-03-02 13:54:51 -08:00
azure-pipelines.yml Add preview extension support for XR_MSFT_spatial_anchor_export_preview (#77) 2021-02-25 18:00:53 -08:00

README.md

OpenXR Samples for Mixed Reality Developers

This repository contains OpenXR code samples tailored for developers who are familiar with and using the Visual Studio toolchain, e.g. HoloLens 2 developers.

These OpenXR samples use C++17 and D3D11. The same source code works across UWP applications running on HoloLens 2 and Win32 applications running on Windows Desktop with Windows Mixed Reality immersive headsets.

Prepare, build and run the samples

OpenXR preview extensions

The openxr_preview folder contains an additional openxr_msft_preview.h header to offer the following OpenXR extensions that are only available in preview runtime.

  1. XR_EXT_user_presence
  2. XR_MSFT_scene_marker

Please send feedback on preview extensions and samples at GitHub issues. We are planning to incorporate your feedback and finalize these extensions as vendor extensions (MSFT) or cross-vendor extensions (EXT) in the central Khronos OpenXR headers and spec over the coming months.

OpenXR samples and extension usages

OpenXR app best practices for HoloLens 2

The BasicXrApp demonstrates the best practices for an OpenXR app to achieve full frame rate and low latency.

For more detailed information on getting the best visual quality and performance on HoloLens 2, see the best practices for HoloLens 2.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.