Code Monkey home page Code Monkey logo

c1ickz / openxrprovider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 1runeberg/openxrprovider

0.0 0.0 0.0 35.12 MB

Provides application and engine developers a simpler method to access OpenXR runtimes (e.g. SteamVR, Oculus, WMR, Monado, etc) without having to wade through the intricacies of directly using the raw OpenXR Loader library.

License: MIT License

CMake 0.85% C++ 26.50% C 0.34% GLSL 0.27% HTML 50.08% CSS 3.33% JavaScript 5.48% Makefile 0.05% TeX 13.04% Batchfile 0.07%

openxrprovider's Introduction

OpenXR Provider Library

Provides application and engine developers a simpler method to access OpenXR runtimes (e.g. SteamVR, Oculus, WMR, Monado, etc) without having to wade through the intricacies of directly using the raw OpenXR Loader library.

NOTE: Sandbox test app requires SteamVR Beta 1.16

A general overview and introduction to this library can be found here:

https://runeberg.medium.com/the-dawn-of-openxr-6824989613b9

OpenXR Provider Library developer documentation (generated via Doxygen) can be found in:

http://runeberg.io/OpenXRProvider/html/

Sandbox developer documentation (generated via Doxygen) that can be used to quickly test the library and underlying api calls can be found here:

Sandbox\docs

I. Pre-built binaries

You can find pre-built library files (.lib, .dll) as well as a OpenGL Sandbox application (.exe) for quick testing in the bin directory. This requires SteamVR Beta 1.16

As a quick OpenXR lifecycle demo, the Sandbox app renders a skyblue clear color to the swapchain images which then gets rendered to the hmd by the active OpenXR runtime. Sandbox also blits (copies) this texture to the desktop window (XR Mirror).

Detailed logs in the console and bin/logs directory could be of particular interest to developers looking to see the OpenXR api calls being made by the library

II. Building Pre-requisites

Visual Studio 2019 with C++ modules (or VS 2017) CMake 3.14.4 and above (https://cmake.org/download/) - Install with include in system path option

III. Building

  1. Clone or copy the repository from GitHub
  2. From the root directory of the repository, create a build directory (mkdir build)
  3. Go to the build directory (cd build)
  4. Run CMake (cmake .. or for VS 2017 cmake -G "Visual Studio 15 2017 Win64" ..) A openxr_provider.sln file is generated in the build directory which you can then open and use in Visual Studio 2019
  5. Optional: Build the library and Sandbox application in CMake (cmake --build .)

Note: Currently supports Windows x64, OpenGL 3.2 and above

openxrprovider's People

Contributors

1runeberg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.