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.
How can I navigate through lots of different scanned rooms?
Hi all
I am currently working on a HoloLens project.
Now I want to scan a lot of different rooms. Then I can download the rooms as .xef or as .obj format. After this I would like to compare these rooms with the room I am currently in and if this is true, I would like to maybe show a text or picture in front of the hololens.
So here my problem/question:
How can I compare the currently room with other rooms, which I can get in .xef or .obj format?
Is this possible?
I think World Anchor would not work here very well...
The software I am using is: Unity and VisualStudio2017
Thank you for your help
-Patrick
Best Answer
-
stepan_stulov ✭✭✭
Hey, @Patrick_
It seems like there is no transparent way to identify a Space you're currently in from within your app. Have a look at this thread:
https://forums.hololens.com/discussion/2103/currently-active-space-and-worldanchor-store
What you're probably referring to as .obj is a spatial mapping mesh which is a reconstructed derivative of an actual space. This is usually used for visualizaiton or colliders. The space itself is much more. You could theoretically compare the cached mesh to the current spatial mapping live mesh in your app with a certain threshold but that's not easy. I can't say much about .xef except what I found here:
https://forums.hololens.com/discussion/comment/4127
To my knowledge world anchors is the best shot you have. You may be able to build a one-anchor-per-space identification system for your Spaces and simply see which anchor is currently located.
Cheers
Building the future of holographic navigation. We're hiring.
5
Answers
Hey, @Patrick_
It seems like there is no transparent way to identify a Space you're currently in from within your app. Have a look at this thread:
https://forums.hololens.com/discussion/2103/currently-active-space-and-worldanchor-store
What you're probably referring to as .obj is a spatial mapping mesh which is a reconstructed derivative of an actual space. This is usually used for visualizaiton or colliders. The space itself is much more. You could theoretically compare the cached mesh to the current spatial mapping live mesh in your app with a certain threshold but that's not easy. I can't say much about .xef except what I found here:
https://forums.hololens.com/discussion/comment/4127
To my knowledge world anchors is the best shot you have. You may be able to build a one-anchor-per-space identification system for your Spaces and simply see which anchor is currently located.
Cheers
Building the future of holographic navigation. We're hiring.