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.

Retrieving Rooms Scanned with Mixed Reality Headset?

I'm working with the HP Mixed Reality headset and Unity. I was wondering if there's a way to retrieve the rooms scanned by the headset. Not as a mesh, which is a feature only supported by HoloLens, but as a tag referencing the current room the headset is in.
For example, if the headset is in the restroom, retrieve a tag labeled 'restroom' or 'room1', and if the headset is in the lounge, retrieve a tag labeled 'lounge' or 'room2'.
The application idea is to walk around several rooms, and I'd like to be able to tell in which room the player is.

Best Answer

  • Accepted Answer

    AFAIK, there no such feature. However another design may help you out. The StageReference frames are basically the way in which you get the world coordinate system. You can keep track of how far a user moves/teleports based on 3D models you have in your space. You can anchor your objects in world space and the differences in units (meters) from where they are compared to where you are. You can also use these stationary objects to become like "markers" in your code to determine rooms. For example you can place a "Lamp" 3D model in the bedroom, and a "TV" model in the living room allowing you to mark if a user is in one room versus another.

    HTH

    Dwight Goins
    CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
    MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
    http://dgoins.wordpress.com

Answers

  • Accepted Answer

    AFAIK, there no such feature. However another design may help you out. The StageReference frames are basically the way in which you get the world coordinate system. You can keep track of how far a user moves/teleports based on 3D models you have in your space. You can anchor your objects in world space and the differences in units (meters) from where they are compared to where you are. You can also use these stationary objects to become like "markers" in your code to determine rooms. For example you can place a "Lamp" 3D model in the bedroom, and a "TV" model in the living room allowing you to mark if a user is in one room versus another.

    HTH

    Dwight Goins
    CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
    MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
    http://dgoins.wordpress.com

Sign In or Register to comment.