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.

Room Separation

edited October 2016 in Questions And Answers

Hi,

I'm new to HoloLens, and before playing with it and doing something more serious with it, I need to know something.
I have a project where I need to know which room I am, and separate each room to display different stuff in each one (let's say I have a living room, a bedroom, and outside home), is there a way in HoloLens to know that, for example, I started outside, entered the living room (room 1) and moved to bedroom (room 2) and know which room I am at the moment?

Answers

  • utekaiutekai ✭✭✭

    You can use gaze to detect that you are gazing upon a game object, and based on which room that game object is in, you could detect. But if the user gazed upon an object in a different room, it would be inaccurate.

    I think it could also be done with pixel light detection, if you placed a light source with limited range in each room and upon detecting light from that source on a pixel that travels with the camera would know the user is close enough to be in the room.

  • Okay, so HoloLens won't give me this info by itself, I need to come up with something to mark each room. The light idea, I imagine could not be done as I cannot ensure the same room for every user (as it is a project for a firefighting scenario, different places might be used), so maybe ask the user to pinpoint objects in a scene, or maybe capture the room surface and mark it before starting training?

  • Hi Zharramadar. Scanning the rooms beforehand seems like a worthwhile approach, especially for a training application where you want a consistent and repeatable environment for assessing improvement.

    Given that, one possible approach that should be relatively easy to prototype would be:

    1. Build a floorplan for each room during scanning that you can raycast against (i.e. box colliders for the floor of each room)
    2. Attach whatever metadata you need with each floorplan (name, type, etc)
    3. Raycast straight down from the camera (head) position, that is the room you are in

    Simplest place to start would be to use SurfaceMeshesToPlanes in the HoloToolkit.

    Good luck!

    -matt

Sign In or Register to comment.