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.

Spatial Mapping Collider/Observer/Manager/Renderer

I'm trying to create an app that requires raycasting onto the spatial mapping. It also requires that the gaze to stop at the point where it hits the spatial mapping. After looking into the different spatial mapping scripts and Unity components, I'm a bit confused as to what I need.

The HoloToolKit provides a Spatial Mapping Observer and a Spatial Mapping Manager while Unity provides a Spatial Mapping Collider and Spatial Mapping Renderer. Do I need the Spatial Mapping Observer and Spatial Mapping Manager or do I just need the Spatial Mapping Collider? If I have the Spatial Mapping Collider and the Spatial Mapping Observer, will that create two observers, thus, slowing down the app?

Answers

  • SpatialMappingRenderer really isn't required anymore since SpatialMappingManager has an option for "Draw Visual Meshes". To be completely honest, I'm not sure why it's still in the toolkit. I'd love to hear from anyone else that may know more than me.

    SpatialMappingManager requires SpatialMappingObserver. In fact it has a RequireComponent applied to it (which means unity will add an obserbver when you add a manager if one is not already in the same GameObject). You should never have more than one Observer in the same scene.

    Our Holographic world is here

    RoadToHolo.com      WikiHolo.net      @jbienz
    I work in Developer Experiences at Microsoft. My posts are based on my own experience and don't represent Microsoft or HoloLens.

Sign In or Register to comment.