xamarin/urho

HoloLens Spatial Map Is Incorrectly Rotated

Opened this issue · 2 comments

The entire spatial map in the HoloLens in the latest master branch is rotated roughly 45 degrees from what it should be. It seems to be related to this PR #263. If in StereoApplication.cs on line 253 you remove the Bounds parameter, the map generates in the correct location and rotation.

return CreateModelFromVertexData(surface.VertexData, surface.IndexData, surface.BoundsRotation);

You can see the rotation in the spatial if you run the spatial mapping sample and double click to see the wire-frame version of the mesh.

@EgorBo Any update on this? HoloLens is essentially broken because of this.

It's easy enough to simply override that routine in your own code, using the sample fix as shown by the original author.