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.

How can I get finishing spatial mapping?

edited November 2017 in Questions And Answers

Hey all,
I'm using Unity 5.6.3f1 and HoloToolkit. I'm having a problem about "SpatialMapping".
How can I get finishing spatial mapping? I don't have good way to notice finishing real world mapping....

When I start the app on HoloLens, it takes about five seconds that the mapping finished.
During scanning, my Unity 3Dmodel (with Rigid body) falls into the bottomless pit !!

Do you have a good way to notice of finishing SpatialMapping?
Any suggestions how to solve this?

Best Answer


  • Options
    stepan_stulovstepan_stulov ✭✭✭
    edited November 2017

    Hey, @sakata0211

    To my knowledge spatial mapping process never really ends since HoloLens always tries to adjust it to the latest modifications of the physical world. It feeds the updated reconstructed spatial mesh into your SptialMappingCollider and SpatialMappingRenderer components at a desired rate. You can also freeze it processes, but you will freeze just that, feeding. The actual process is unstoppable and happens no matter what. The only thing you can do is go to Settings and delete the Space to re-initiate it. So there fundamentally is no "finishing real world mapping".

    There is also no guarantee that a spatial mapping mesh is water-tight as far as I know. You can get the mesh if you only stared at the ceiling while the whole floor is absent. Your application should not assume water-tightness. If, however, it absolutely have to, you have to patch the spatial mapping mesh yourself. Alternatively you can introduce your own metric a'la "good enough" or "few enough small enough holes" to that your sphere won't fall through and wait until one arrives and even ask the user to keep looking around until the mesh satisfies the metric.

    Hope this helps.

    Building the future of holographic navigation. We're hiring.

  • Options
    edited November 2017

    Thank you for your answers!!

    I didn't know about "Spatial Understanding".
    I'll try to study about it, and try to use it!
    Thank you!

Sign In or Register to comment.