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

SpatialUnderstanding freezes app when finalizing room mesh

ReeleyReeley ✭✭✭
edited June 2017 in Questions And Answers

Hey guys :)

i understand that the spatial understanding is doing some heavy stuff when finalizing my scan, but is it normal that the whole application freezes for a moment? Cant this be done asynchronously? Or shouldnt my application freeze and im having some error in my code?

Best Answers

Answers

  • Options
    trzytrzy ✭✭✭

    I've noticed this happening as well but haven't really dug into it too deeply. I think it's somewhat unavoidable. The way the HoloToolkit wrapper around spatial understanding is structured, no asynchronous mode is provided. It could probably done but would require extensive modification of the HoloToolkit.

    I'd also be curious to know if there are any workarounds in the near term.

  • Options
    ReeleyReeley ✭✭✭

    @trzy thanks for your reply. did you ever try to use spatialunderstanding on a big room? because i cant get it bigger than about 10x10m

  • Options
    trzytrzy ✭✭✭

    No, unfortunately I haven't tried that yet. The rooms I usually scan are a bit smaller (but not by a lot). Have you tried digging through the source code to see if there are some hard-coded limits?

  • Options
    ReeleyReeley ✭✭✭

    yes and there is one variable called ScanSearchDistance which gets passed to the SpatialUnderstandingDll, but increasing it didnt make a difference :/

  • Options
    ReeleyReeley ✭✭✭

    Wow thanks for this detailed answer i will try that and post my results here :)

  • Options
    ReeleyReeley ✭✭✭

    Im currently not developing for hololens anymore, but this looks AWESOME, when i get back into developing for hololens i will try it out!

    Thanks for your engagement!

Sign In or Register to comment.