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

Spatial Mapping of simple 3D objects

Hi All,
We are creating a manual for a simple machine.

Can we create a 3d model of the machine using spatial mapping and not the whole room?

The holograms which are simple UI elements need to hang on its vertical surface. Can we stick a hologram on a surface or will gravity pull it down?

Thanks,
Harish

Tagged:

Answers

  • Options
    stepan_stulovstepan_stulov ✭✭✭
    edited November 2017

    Hello, Harrish.

    If I may, you need to untangle the concepts you're asking about.

    1. World anchors. These allow you to delegate the tracking of game objects' transforms to HoloLens. That tracking is happening against visual (and other) information that the HoloLens received through its sensors and cameras. This process can't be influenced in any way. You attach a world anchor and the object is fixed.
    2. Spatial mapping is a 3D mesh re-constructed from HoloLen's sensory information. It's great for gaze raycasting and visualizing. Spatial mapping's resolution is rather limited. World anchors do not work against spatial mapping. Spatial mapping is a derived information and is only fed one way into your app.
    3. Gravity (and generally speaking physics) has nothing to do with anchors, spatial mapping. You can, however, incorporate your spatial mapping mesh collider for objects to bounce against etc. Whether or not your objects are influenced by gravity is up to you. Bare in mind, however, that you don't want an object to be simultaneously influenced by multiple transform-altering paradigms (in this case tracking/anchors and physics). Here is a good read about it: https://forums.hololens.com/discussion/comment/15033

    Hope this helps.

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

  • Options

    Thank you, Stepan. I had all the concepts confused.

  • Options
    stepan_stulovstepan_stulov ✭✭✭
    edited November 2017

    Apologies, @harish, not Harrish. One R.

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

Sign In or Register to comment.