Skip to Content
Augmented Reality for Android Application Development
book

Augmented Reality for Android Application Development

by Jens Grubert
November 2013
Intermediate to advanced
134 pages
3h 12m
English
Packt Publishing
Content preview from Augmented Reality for Android Application Development

Proximity-based interaction

Another type of interaction in AR is using the relation between the camera and a physical object. If you have a target placed on a table and you move around with your device to look at a virtual object from different angles, you can also use that to create interaction. The idea is simple: you can detect any change in spatial transformation between your camera (on your moving device) and your target (placed on a table), and trigger some events. For example, you can detect if the camera is under a specific angle, if it's looking at the target from above, and so on.

In this example, we will implement a proximity technique that can be used to create creating some cool animation and effects. The proximity technique uses the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro Android Augmented Reality

Pro Android Augmented Reality

Raghav Sood

Publisher Resources

ISBN: 9781782168553Other