Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. 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

  • Accepted 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

  • Accepted 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.