Scanning multiple large rooms (spatialmapping with spatialunderstanding)

Hello,

I am trying to make an interiour 3d scan of my rooms.

I used the “SaveSpatialUnderstanding” (or SaveSpationMapping) sample from the Holotoolkit. Or are there other samples / tutorials for that?

It works good on the first room (good and complete scan) but gets problems with the 2nd room.

So in the spatialmapping gameobject I decreased the “triangles per cubic metre” down to 320.
I set the Extends to 25/10/25. That should really be enough. Origin is 0/0/0.

Again the first room is great, the 2nd room is worse, more does not work.

When having too much data (I guess the triangles are much but should not already be too much?) it starts to scan much slower, stops scanning, the model is not static anymore and starts to move, and I can not scan more than two rooms at all (each around 25 square meters).

Is there anything I can do if I want to create a complete interiour model of my rooms? How can I enhance the Performance and the possible size / extends?

Are there other samples? It would be great if I could scan the whole rooms and be able to place holograms everywhere using the interiour model for physics…

Thanks a lot and have a nice Weekend!

PS: When looking at the ground and the ceiling (especially in empty areas), and most of the walls here 1% of the used triangles would do.
And I had holograms with much more triangles in my app before it slowed down that much. Maybe there is some Performance or Memory leak while scanning?

Thanks again!

You are doing a very intensive scan and most work flows people scan 1 room at a time and hide that room by turning off visualization and scanning of the mesh once the scan of the room is complete.

One thing you can do is have a spatial mapping component per room that scans and holds they data, then stops scanning after a set time.

here is the link to the doc:
https://docs.unity3d.com/Manual/windowsholographic-sm-component.html

2 Likes