urho icon indicating copy to clipboard operation
urho copied to clipboard

HoloLens Spatial Map Is Incorrectly Rotated

Open davejmurphy opened this issue 6 years ago • 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. https://github.com/xamarin/urho/blob/b0f14ea76e29bebc4c5034089088be6c31128121/Bindings/Portable/SharpReality/StereoApplication.cs#L234 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.

davejmurphy avatar Mar 26 '18 20:03 davejmurphy

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

dotMorten avatar Jul 09 '18 22:07 dotMorten

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

utekai avatar Dec 17 '19 18:12 utekai