Comments (3)
I don't have hololens hardware to test with and my attempts at getting the hololens emulator working have been pretty dismal so far.
There are a number of places where the examples are hard-coded to assume a VR HMD, rather than AR (like where I set the environment blend mode to opaque in the FrameEndInfo
structure. I'm also not familiar with the whole hololens ecosystem and if it's possible to run a GLFW based application that outputs to the headset. However, it should be possible to at least adapt the bulk of the code to work. Without a development environment for hololens though I can't really provide any more detailed guidance than that.
I may open a patreon or github patron account for people who want to contribute to my examples work and if successful with that I may pop for a hololens rental for at least long enough to validate some working code. Keep an eye out for links in the readme.
from openxr-samples.
FYI, there are some hololens openxr samples here:
https://github.com/microsoft/OpenXR-MixedReality
Would love to know what do you like to see in addition in those samples.
from openxr-samples.
That repository is pretty abysmal when it comes to looking through code. They turned the modularity up for no reason and you are going to jump through functions and back to understand it like a madman. Not to mention it only targets d3d11. This example supports hololens with just a few changes, without regard of how to implement the swapchain rendering algo. Being MS also, there are functions that you will need specifically for hololens I think which is in openxr_platform.h
. That being said, if you want to drop the SDL and GLFW dependency on windows here is how you get a basic window and context on windows: https://pastebin.com/5Xd1eCPy
from openxr-samples.
Related Issues (9)
- Qt3D example has lag HOT 1
- README file excludes important step
- GLFW shared context rendering issue on Oculus XR runtime
- Oculus runtime can't do Cube layers in OpenGL
- Better Basis to Swapchain loading code
- xrEnumerateSwapchainFormats on Oculus returns GL_BGR and GL_BGRA HOT 1
- Vive only plays one frame then waits forever with c example HOT 3
- Can this work for HTC VIVE headsets?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openxr-samples.