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.

How we can cut the room mesh on an advanced level? Spatial Mpping and Spatial Understanding

edited January 2018 in Questions And Answers

Good afternoon everyone

Recently, I've read an article about "Expanding the spatial mapping capabilities of HoloLens ":

So, everything is great about this one but I still have a missing piece for myself. What the second part of this sentences from the article as such mean?

In addition to the three primary queries, there is a raycasting interface which can be used to retrieve tagged surface types and A CUSTOM WATERIGHT ROOM MESH CAN BE COPIED OUT.

Can you please help me and guide to relative posts on the Forum which refer to that one because I really want to understand what did the author mean in that article.

Furthermore, I really interesting in ability how we can cut the room mesh on an advanced level. For example, I want not just to cut the upper part of the room mesh but to cut it by custom line or something like that. In other words I just want to process the mesh by cutting exactly those parts which I want. Has anyone already done something like that? Can I have some "guide steps" for going deeper into it? And the central question than becomes: is this question refer to the previous one (about article) which I have described earlier? *

  • In addition to the three primary queries, there is a raycasting interface which can be used to retrieve tagged surface types and A CUSTOM WATERIGHT ROOM MESH CAN BE COPIED OUT.

Are they connected with each other or these ones are two different fields of work?

As a conclusion, I wish I formulated my quiries clearly.
I'll really excited to know 1) what technics for "advanced mesh cutting" we have and 2) what the second part of the sentence from that article really means.

Really big thank you to all interested people of this question

Best wishes,
Andrew

Comments

  • At the bottom of the article the author explains the ray casting interface under the Ray Casting section. As for a watertight room mesh, the author is referring to the mesh created using Spatial Understanding. The Spatial Understanding script creates a really clean neat mesh that developers can use to actually allow models/holograms to collide against it. Whereas with the Spatial Mapping this was not possible because the mesh created by it has a lot of holes in it. You can test this by trying to place a model with a rigid body on a Spatial mapping mesh vs. a Spatial Understanding mesh. You will quickly see your model fall right through the floor on the first one.

    You can also see the room mesh try to connect itself in the Spatial Understanding whenever you finish scanning and call the RequestFinishScan method inside of it. For example, if you were to scan a room and the door was open, the script doesn't put any mesh there, however whenever you call the RequestFinishScan the script attempts to connect everything that has been scanned and connects the mesh from one side of the door to the other to try and enclose the mesh into a room.

    AR Developer

  • @dbarrett said:
    At the bottom of the article the author explains the ray casting interface under the Ray Casting section. As for a watertight room mesh, the author is referring to the mesh created using Spatial Understanding. The Spatial Understanding script creates a really clean neat mesh that developers can use to actually allow models/holograms to collide against it. Whereas with the Spatial Mapping this was not possible because the mesh created by it has a lot of holes in it. You can test this by trying to place a model with a rigid body on a Spatial mapping mesh vs. a Spatial Understanding mesh. You will quickly see your model fall right through the floor on the first one.

    You can also see the room mesh try to connect itself in the Spatial Understanding whenever you finish scanning and call the RequestFinishScan method inside of it. For example, if you were to scan a room and the door was open, the script doesn't put any mesh there, however whenever you call the RequestFinishScan the script attempts to connect everything that has been scanned and connects the mesh from one side of the door to the other to try and enclose the mesh into a room.

    Thank you. Now it clear for me)

Sign In or Register to comment.