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 map how to modify

when I input handler, the sample come up "Render mesh data as a surface, visualizing the spatial map as an overlay on top of surfaces" but I need the mesh skip the other things on the desk what should I do?

thanks

Answers

  • Options

    @wangwei,
    The Holographic Academy Spatial Mapping course demonstrates a method to modify the mesh.

    I recommend looking at the Processing chapter, specifically the RemoveSurfaceVertices.cs file for how we removed portions of the mesh.

    Thanks!
    David

  • Options

    H i@David

    First of all thank you very much for your answer to this question.
    Now, I use the DirectX11 example(HolographicSpatialMapping), I want to change this case, I want to get a single effect.
    Do you know how to change?

  • Options
    trzytrzy ✭✭✭

    @DavidKlineMS said:
    @wangwei,
    The Holographic Academy Spatial Mapping course demonstrates a method to modify the mesh.

    I recommend looking at the Processing chapter, specifically the RemoveSurfaceVertices.cs file for how we removed portions of the mesh.

    Thanks!
    David

    Hi David,

    I've observed that RemoveSurfaceVertices is very aggressive -- to the point that it removes huge chunks of the spatial mesh that are not bound by surface planes when SurfacePlane objects are used as the bounds. I think this is because collider.Contains() uses an axis-aligned bounding box, not the actual collider volume in world space. Or am I mistaken? If so, then I can't easily explain why RemoveSurfaceVertices culls out so much geometry and will have to debug further.

    Thanks,

    Bart

Sign In or Register to comment.