O'Reilly logo

Augmented Reality for Android Application Development by Dr. Raphael Grasset, Jens Grubert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Putting it together – VuforiaTM with JME

In this section we will show you how to integrate VuforiaTM with JME. We will use a natural feature-tracking target for this purpose. So open the VuforiaJME project in your Eclipse to start. As you can already observe, there are two main changes compared to our previous projects:

  • The camera preview class is gone
  • There is a new directory in the project root named jni

The first change is due to the way VuforiaTM manages the camera. VuforiaTM uses its own camera handle and camera preview integrated in the library. Therefore, we'll need to query the video image through the VuforiaTM library to display it on our scene graph (using the same principle as seen in Chapter 2, Viewing the World).

The jni folder contains ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required