how to put a 3D model in a real GPS location?
Hello everyone. I was able to generate a 3D model and make it pop up with a target object (see examples in London Brewery App - https://www.youtube.com/watch?v=DjQsyGHdijc) But now I wish I could have the AR Camera to pop up it when I am in a place - not on the image correspondent to the Target Image. Is it possible?
Answer by etopsirhc · Sep 12, 2016 at 05:31 AM
possible, yes, easy, no.
first you need the gps location of the phone, then the direction the phone is facing as well as it's angle, the target gps, some way to detect the distance of what they are looking at (maybe some kind of check into the auto-focus could give an estimated distance, otherwise more math and estimations would be needed here), and a way to detect a flat surface and the normal of that surface.
finally once you have all those, you can use some math to figure out if they are looking in the area where the object should show up, as well as using the normal to figure out what angle the object should placed be on that surface.
Your answer
Follow this Question
Related Questions
Unity - Prefabs 1 Answer
Importing 3D model from sketchup to unity 2 Answers
How do I download 3D models from within a Unity app? 1 Answer
Character Creator 2 0 Answers