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.

How to get triangular information in SpatialSurface

Hello, I want to get the fine triangular information in SpatialSurface, use the TryComputeLatestMeshAsync function in the SpatialSurfaceInfo class to get the triangular information of the spatial mesh. When the function argument m_maxTrianglesPerCubicMeter is changed from 1000 to 10000, the number of triangles does not appear ten times How does m_maxTrianglesPerCubicMeter affect the number of triangles of SpatialSurface?



  • Options
    edited October 2017

    If you are talking about HoloLens, then 2000 tris/m3 appears to be the limit. Unity tutorials recommend to go only up to 1200. Anything beyond that is a waste of resources.

    Also don't forget that platform uses larger triangles for the flat surfaces. Therefore you will not see as much difference on the floor and the walls if you change maxTrianglesPerCubicMeter parameter. You need to check the spatial mapping behavior on objects with lots of small details.

Sign In or Register to comment.