xamarin / urho

Code to integrate with the Urho3D engine
Other
463 stars 122 forks source link

HoloLens Spatial Map Is Incorrectly Rotated #314

Open davejmurphy opened 6 years ago

davejmurphy commented 6 years ago

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.

dotMorten commented 6 years ago

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

utekai commented 4 years ago

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