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

Mini size of room model in Unity

I saw someone can display mini size in Unity scene, I wonder how to achieve that?

Like this one, he scaled down the room model
https://www.youtube.com/watch?v=AgMIqL8dapg

Answers

  • Options

    You can access the model like any other object during runtime. The meshes will usually be children of the object that holds the SpatialMappingSource components. If direct manipulation causes issues with dynamic scanning/mapping, you still have the option to instantiate a duplicate of these meshes and work with those.

  • Options
    utekaiutekai ✭✭✭

    There is a test in the toolkit that loads and displays a spatial map in a scaled down hologram. See https://github.com/Microsoft/HoloToolkit-Unity/tree/master/Assets/HoloToolkit/SpatialMapping/Tests and use the PlaneFinding test scene.

  • Options

    @DanielF said:
    You can access the model like any other object during runtime. The meshes will usually be children of the object that holds the SpatialMappingSource components. If direct manipulation causes issues with dynamic scanning/mapping, you still have the option to instantiate a duplicate of these meshes and work with those.

    Thanks for replying, can you explain more how to duplicate the meshes?
    By using GetMeshFilters(), I can get all meshfilters, do I create gameobject for each meshFilter?
    Also I notice meshFilter's gameObject has different positions, do i also need to store these positions and assign to my new gameobjects?

  • Options

    hi @ywj7931
    how to load/display spatial map in a scaled down model with unity.. i also want do like this. how can i achieve this?
    https://www.youtube.com/watch?v=T-JvTZjbwNs

Sign In or Register to comment.