Closed Noemata closed 4 years ago
Submit PR and I will gladly merge it
I haven't implemented this. I was requesting the feature. I'll have a look at trying to implement your code, but use the SharpDX Holographic template as an example. I've yet to see a third party library outside of Urho, Unity and WaveEngine implement HoloLens support. Probably because it's non-trivial. Would be nice to see an open source lib such as this implement MR support since it appears Vortice.Windows will be the path forward for former SharpDX users. That said, support for Mixed Reality is kind of crucial at present.
Also, DirectX12GameEngine claims to support MR, but the initialization code is incomplete. There are several missing steps to get this working in that code, In particular, the way GraphicsDevice is initialized needs to make use of HolographicSpace, but the order implemented precludes access when needed. It's on the right track nonetheless.
@Noemata I haven't had access to a HoloLens yet, so I could only try it with a Windows Mixed Reality headset a while back in DirectX12GameEngine. Once I get myself a HoloLens 2 (hopefully this year), I will work on support for that in addition to spatial interaction with hands and eyes. The UWP API does a great job of exposing these features.
Initializers/Bootstrappers that support HoloLens. HoloLens emulator would be a good start.