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.
Update Spatial Mapping
Hi everyone!
My team and I are developing a game and we need to update the Spatial Mapping. We need to scan the environment to detect floors, walls, ceilings and so on. However, the environment can change. An example that can clarify my question is as follows: we start scanning the environment for a specified time. Then, we can place objects on surfaces that have been mapped. For example, we can place a cube in a chair, but the chair can move, so the cube should drop. The Spatial Mapping should reactivate to be able to detect the objects that have changed its position. How could I do it?
Thanks a lot for your help!
Cristian.
Best Answer
-
james_ashley ✭✭✭✭
You can leave the spatial mapper running but set the draw visual meshes to false after your initial scan. then increase the Time Between Updates field value on your spatial Mapping Observer so it happens less frequently -- or set up your own timer and turn spatial mapping on and off as you need to. You actually have an incredible amount of control over spatial mapping if you need it.
James
James Ashley
VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
Microsoft MVP, Freelance HoloLens/MR Developer
www.imaginativeuniversal.com5
Answers
@CristianGómez
You can leave the spatial mapper running but set the draw visual meshes to false after your initial scan. then increase the Time Between Updates field value on your spatial Mapping Observer so it happens less frequently -- or set up your own timer and turn spatial mapping on and off as you need to. You actually have an incredible amount of control over spatial mapping if you need it.
James
James Ashley
VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
Microsoft MVP, Freelance HoloLens/MR Developer
www.imaginativeuniversal.com