Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

Using UI components in HUD D3D c++/cx app

Hello all, I am finding it very difficult to Create ui component in Holographic DX3d app. I need to use C++/cx since am using Opencv, and I need to build a Hud app (i have already build some functionalities , I have successfully rendered some text on the Hud view ). My problem is How can i create UI components (buttons, sliders etc) in D3D holographic app.
I need my app to behave exactly like the Hololense start menu, but i cant find any pointers on that. I do know that this is possible by using Unity, but i cant use unity since i need opencv.
to sumrize it I need to create a D3D app that behaves exactly like the Hololense start menu, renders text, images and have some UI functionalities (buttons, sliders, text boxes and events ) I think publishing the sample code of the Start menu will give GREAT benefits to all of the developers. Thanks for any help
cheers !

Answers

  • You can still use OpenCV with Unity. All you have to do is make it a DLL and use it as a plugin. There are a couple of Nuget packages that all you have to do is build it as a UWP dll and import them into Unity and they work fine. I've already done this.

    I answered this question on StackOverflow
    https://stackoverflow.com/questions/38253087/using-opencv-in-hololens

    I actually ended up using a different NuGet Package but, I honestly don't remember the name of it.

    As far as the start menu UI it isn't anything really complicated as far as a UI can be. All it really is a series of little panels on a big panel with the smaller panels having a button script attached to them and a tagalong script attached to the canvas.

    AR Developer

  • It is very difficult to create UI

Sign In or Register to comment.