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.

Origin of spatial mapping mesh from Device Portal

Hi, all

I made simple app to take a picture from webcam in hololens and extracting camera-to-world matrix to get origin (0,0,0) of webcam in world coordinates.

Last column in camera-to-world matrix by calling TryGetCameraToWorldMatrix() function supposes to be webcam's origin in world coordinates, right?

Then, I am trying to get the spatial mapping mesh from Device portal by simply clicking 'save' button in 3D view menu but it seems like mesh saved from device portal has different origin points (rotated and translated) each time based on clicking 'update' button or moving.

I thought world coordinate's origin point is staying at fixed location. I guess it is not. Should I save spatial mapping mesh from my app as well to save both spatial mapping mesh and picture with same world coordinate origin?

Thank you.

Best Answer

Answers

  • Hi @Song, I am experiencing exactly the same problem now, could you explain in a bit more detail how you solved it? Thank you so much!!

Sign In or Register to comment.