Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

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.

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, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Scanning a window or door frame

I'm building off the logic in the HoloToolkit and Tutorial 230 for spatial scanning. The basic scanning process is working fine. In the room I'm in there are french doors which is nice because its similar to the real world scenario I'm building for. I'm trying to get the spatial scanning to recognize the frame around the french doors - specifically the top edge of the frame. In the app, with the gaze on the middle top of the door frame I issue a voice command and it's supposed to place some objects relative to the plane of the frame at the top / above the window area. See the graphic.

The mesh shows me that triangles/verts are found on the frame but it never seems to turn it into a plane. I'm telling it to include not only Walls but Unknown objects, as they are classified in the spatial processing scripts. I'm also giving it an extremely small (or no) minArea for planes. Looking through code it seems that the FindPlanes method P/Invokes into a native dll so the logic there is a bit of a black box.

Any ideas what I might need to do to recognize that area as a game object (so I can position relative to it)?

Thanks!

Answers

Sign In or Register to comment.