Skip to content

XR engine based on OpenXR & DirectX 11

License

Notifications You must be signed in to change notification settings

Adrian-Hirt/XRe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XRe

XRe is a project to build a XR engine from scratch using OpenXR and DirectX.

Please note that XRe is a WIP project and mainly intended for me to learn more about OpenXR, DirectX and XR development for the moment. It is not (yet) meant to be used for XR development directly.

Features

XRe currently has the following features:

  • Full Rendering loop with separate methods to update the simulation (with predicted render time passed in) and render the scene.
  • Defining models from vertices as well as loading models from .obj files
  • Rendering text and flat bitmaps
  • Rendering simple lines
  • Controller tracking
    • Tracking of the grab action on controllers
  • Ability to move / rotate objects in the scene by grabbing
  • Bounding boxes for objects
  • Teleporting to other locations in the scene
  • Tracking the aim of the user and highlighting intersections of the aim and the scene.
  • Various shaders (e.g. ambient lighting, textured models)
  • Basic hand tracking

Screenshots

Simple scene:

Hand tracking:

Acknowledgements

  • The textures in data/textures were downloaded from https://ambientcg.com/, licensed under the Creative Commons CC0 1.0 Universal License.
  • XRe is using DirectXMath, February 2024 version, licensed under the MIT license.
  • XRe is using DirectXTex, licensed under the MIT license.