microsoft / MixedRealityToolkit

The MixedRealityToolkit is a collection of scripts and components intended to accelerate the development of mixed reality applications targeting Windows Mixed Reality.
MIT License
858 stars 276 forks source link

UX samples for rendering with directx #145

Open sahilagnihotri opened 6 years ago

sahilagnihotri commented 6 years ago

Hi,

I am working on a directx renderer, and since its UWP i can render in Hololens. But, I have been unable to find any UX samples with directx for hololens, in MixedRealityToolkit-Unity UX samples exists but its been missing in this original port. Will it be added in future or is there any other resource samples on immersive UX creation without using unity?

-Sahil

yl-msft commented 6 years ago

We've published a DirectX app sample called "DemoRoom" in this repo: https://github.com/Microsoft/MixedRealityToolkit/tree/master/SpatialInput/Samples/DemoRoom#demo-room-sample

This app was designed to show best practice of using MotionController in windows mixed reality platform, including experience of using a menu (toolbox) system, using touchpad to display radio menus, as well as throwing, shooting and painting experience.

This app current only works with motion controller and HMD running on Desktop. It doesn't translate to Hololens directly, but the API usages are very similar (though much limited with Hololens hand input, vs. Motion Controller).

We've not heard many requests for samples or frameworks to build UX using DirectX. @sahilagnihotri would you please elaborate what you were looking for for MRTk to support? Are you looking for best practice sample snippets or actual library to use in your apps?

sahilagnihotri commented 6 years ago

Hi, I am working on a 3D rendering sdk and saw that MRTk-unity supports UX out of the box so the developers dont have to worry about coding UX much. Since in my case i am not using unity and DirectX11 it would be nice if it was supporting it but best practice sample snippets should do the trick as well or maybe a DirectX holographic sample with UX since there doesnt exists any :) Something like: https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/master/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md or https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/master/Assets/HoloToolkit-Examples/UX/Scenes

I guess lack of requests for DX has to do with additional complexity as devs have to worry about rendering n UX both whereas with unity its almost drag and drop :) I will also look into the one you mentioned as well.

-Sahil