• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by pbharadwaj777 · Jun 29, 2017 at 12:01 PM · unity5vuforiaaugmented-realityaugmented reality

Augmented Reality and GPS

Hi,

I have to create a Augmented Reality App as shown here. I want to Augment pipes when the camera is open. Different combinations must be Augmented depending on the directions. How can I achieve this? Currently I am a beginner to Unity and Vuforia.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hexagonius · Dec 09, 2017 at 06:10 PM 0
Share

You should start by running a tutorial for vuforia showing you how to augment anything (a cube for example). Work on from there.
However, the way I think they worked in the video is not by using Vuforias object detection, but with GPS coordinates and the device rotation to just draw meshes to where the pipes would be in that location. So for Vuforia, it's just the capability of rendering the camera in the scene as RenderTexture.

avatar image mikewarren · Dec 11, 2017 at 12:52 PM 0
Share

Do a search for markerless augmented reality on YouTube. There are plenty of relevant examples. Some just overlay CG onto video but aren't interacting or tracking the world at all. Throw GPS into the search to try to narrow it down.

I've used the sensors on a phone (GPS + gyro + compass) to draw virtual objects onto camera video. There are a few issues that I found worth noting.

  1. The camera FOV for your CG objects must match the FOV of video rendering. (a combination of the phone's camera FOV and the phone screen aspect ratio).. If your video display is 40 deg. and you're rendering camera is 60 deg., things aren't going to line up.

  2. The accuracy of GPS is only 3m, so if you're rendering something close to your position, small errors in detecting the phone's position will translate to large directional differences, and the virtual objects won't line up on the physical ones.

  3. I found a lot of jitter in the phone compass and drift in the gyro, so if your virtual objects are far away, those small errors translate into big differences in position.

I did a hybrid approach as an experiment. I use the GPS to establish the phone's position (still bad for close up objects) and then AR Core (using its visual/imu tracking system) to track rotation. That gives me good stability. Unfortunately, AR Core isn't available for a lot of phones yet.

Vuforia's a good answer, because it uses an external tracking marker to establish a coordinate system between the local CG objects and the world. But, you need to have that tracking object for it to work.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

122 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

force a camera to be the main camera 0 Answers

Physical Based Lighting/shadow Augmented Reality 1 Answer

AR Game Crashes after launch (AR Foundation/Android) 0 Answers

No PostProcessing in Vuforia AR 0 Answers

How to overlay 3D models on top of real buildings using Augmented Reality with Unity and Vuforia? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges