Game Development Reference
In-Depth Information
Tip The source code for the two rotating cubes over video (shown in Figure 9-5 ) as well as the
AndAR project that simulates the ARTK simpleTest program described in Figure 9-3 are included
with the topic's companion source code. Import the projects ch09.Camera and ch09.AndAR into
your workspace and take a look at how the camera and GL surfaces are created and merged into
the same content view. Remember that to run the AndAR test program you must print the pattern
shown in Figure 9-2 .
Other Toolkits Out There
Currently most of the AR projects use the ARTK as their base. Among the most
remarkable are
Android Augmented Reality Viewer ( http://code.google.com/p/
android-ar-base/ ) : According to the authors, this project provides
the base functionality for building an Android Augmented Reality
application, including:
Camera marker tracking
A 3D game engine
A 3D sound support
An API for extending your AR apps
NyARToolKit for Android : A Japanese project under the GNU public
license, this is an AR toolkit for Android in C++. Digging through the
source, it appears to be loosely based on the ARTK, although most of
the code has been rewritten in C++. More information can be found at
http://nyartoolkit-for-android.soft112.com/
You have taken the first step in learning about AR and how it can be applied to draw
hardware accelerated objects that could be used in gaming. This section provided you with
a foundation to build upon, but there is another new technology fighting to make it into your
living room: Android TV. The next section looks at the evolution of this new technology and
its implications in gaming.
Another very useful SDK is the Multi-Screen SDK, which provides developers with a set
of API's and tools that enable multi-screen experiences for Games, Media Sharing, Social
Collaboration and more.
The Multi-Screen application is divided into two applications. One application runs on a
Samsung SMART TV, and the other application runs on a mobile device. The Multi-Screen
SDK provides an API for your TV application and API's for Android, iOS, and JavaScript
mobile applications.
 
Search WWH ::




Custom Search