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.
Options

How are spatial mapping meshes made available across scenes and applications?

I'm not sure I really understand how spatial mapping meshes of a room are saved and retrieved across applications or between scenes:
1. Does a room only have a single mesh that is updated by both the Hololens OS (when not in an app), and also by individual applications, or is each instance of a mesh maintained separately?
2. If each mesh is separate, it is stored per app, per scene?
3. If you edit a room mesh, say from within an app — by removing vertices, adding planes, etc. — is that done to a cloned instance of the mesh, or is it actually editing the underlying mesh, so it would have to be updated to restore it to its original state?
3. Various articles mention "caching" a mesh, but I haven't seen any examples of caching, other than saving it out for use in Unity. Do you actually need to do anything to cache a mesh or is the mesh automatically cached when created / updated?
4. If you previously created a mesh for a room — say you added floor and wall planes, and you need to use that mesh in a new scene, (or a different app) how do you access it: do you need to rerun the spatial mapping process, will it automatically be available, or do you need to somehow reload it from a cache?

Tagged:
Sign In or Register to comment.