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

Selectively removing spatial mapping / occlusion

Use case:

I have a hologram, let's say a control panel, that has "guts" to it; that is, I remove a top hatch, and then want to look inside it.

I would like the top of this control panel to be flush with a horizontal surface, so I initially want it occluded by whatever object (desk, table, whatever) it's sitting on. However, once I remove the top hatch, I'd like to remove the occlusion on the region of the desk where the hatch was, so that I can see inside.

Tagged:

Answers

  • Options

    @villawhatever have you looked at:

    Chapter 7 - Holographic fun of Holograms 101

    In the Origami sample if the pad of paper is placed on the floor (or less ideal a table) and you then trigger the explosion in the finale the pad goes away and the hole in the floor reveals a whole underworld as its contents (not too disimilar to what you describe above).

    I found this to be such an important demo of that capability that I have done a slight customization of my Origami code sample that I run on my devices that I use for introducing people to the HoloLens where I introduce an extra voice command to Turn Fan On, and when the fan is on, any collision with it will trigger the explosion. That way I can demo all the other features of Origami to a user and then get them to turn on the fan, watch and hear it spin, and then Air Tap one of the origami balls to fall and hit the fan and see what happens. I can then explain the significance of how the HoloLens can create the illusion of looking inside or through solid surfaces.

    Perhaps it is because the Origami sample was my first introduction to HoloLens, but I find it is an excellent example and introduction to all of the basics of GGV, 3D Spatial Sound, Animation of Holograms etc.. etc.. and this illusion of breaking a hole in the floor and seeing an imaginary world on the other side.

    Windows Holographic User Group Redmond

    WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
    WinHUGR YouTube Channel -- live streamed meetings

  • Options

    @villawhatever,
    You may also be interested in the Processing chapter of the Holograms 230 Spatial Mapping course. It shows how to remove specific vertices from the Spatial Mapping mesh while leaving others intact (the project demonstrated removes the vertices that fall inside a plane).

    Thanks!
    David

  • Options

    Something like this? https://twitter.com/genereddick/status/764908361808609280

    I tried (without success) to remove the internal vertices of the box. What worked was first adding quads using the Occlusion material around the edges -- though I couldn't get them perfectly lined up for some reason. Then I set the Spatial Mapping Renderer's Custom Render Setting to None (instead of Occlusion). So occlusion instead of getting handled by the Spatial Renderer (removing everything under the surface mesh), was handled by the Quads.

Sign In or Register to comment.