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.

HoloLens Emulator - Spatial Mapping mesh with wireframe not visible

I am stuck in enabling spatial mapping in an app that's under a non-disclosure agreement. Let me make it more generic and apply it to an appropriate example, such as using spatial mapping when I want to place a holographic teddy bear on a couch. Before I put that teddy bear on the couch, I want to see the mesh that wraps the couch.

What I have in Unity is an object called "Spatial Mapping" with these components in the following order: Spatial Mapping Manager, Spatial Mapping Observer, Spatial Mapping Renderer, and Spatial Mapping Collider.

Draw Visual Meshes is checked. I'm using the default parameters the Spatial Mapping Observer component has. The Render State in the Spatial Mapping Renderer component is set to "Visualization" and I am using both the default Occlusion and Wireframe materials for both occlusion and rendering materials respectively. Both the renderer and collider components do not have a surface parent.

What is it I'm missing here? I am a newcomer here, and don't know why I can't see the wireframe in the app I've built on the HoloLens emulator.

Best Answer

  • Answer ✓

    I was actually able to figure this out! Apparently, the spatial mesh I was trying to see was under the camera and hologram setups. Silly me!

Answers

  • Answer ✓

    I was actually able to figure this out! Apparently, the spatial mesh I was trying to see was under the camera and hologram setups. Silly me!

  • @GregPDMR69 said:
    I was actually able to figure this out! Apparently, the spatial mesh I was trying to see was under the camera and hologram setups. Silly me!

    Excuse me, may I ask you what setups you had done, please?

Sign In or Register to comment.