appoly / ARCore-Location

Allows items to be placed within the AR world with real-world GPS coordinates using ARCore.
https://www.appoly.co.uk/arcore-location/
MIT License
478 stars 154 forks source link

Can't see the location that i entered #1

Closed ybrahem closed 6 years ago

ybrahem commented 6 years ago

Hello i tried building your project but it seems it does not work as i expected, it keeps searching for surfaces and then when i hit in any surface it shows a message saying "Bearing adjustment:" and it does not show any arrows for the location that i entered next to me. i even tried debugging and putting a breakpoint where it should add annotation for the location but it does not enter that particular line which is weird. Can anybody help ?

jguinaud commented 6 years ago

I had the same problem. Adding precision mediump float; to the fragment shader in the ImageRenderer and AnnotationRenderer solved the problem for me.

DanialKhan777 commented 6 years ago

can you please share your code @jguinaud

jguinaud commented 6 years ago

I just made a PR with the fix @DanialKhan777 https://github.com/appoly/ARCore-Location/pull/2

johnwedgbury commented 6 years ago

Thanks for the fix @jguinaud