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

Using the scenegraph to overlay a 3D model onto the camera view

In the previous chapter you learned how to set up a single viewport and camera to render the video background. While the virtual camera determines how your 3D graphics are projected on a 2D image plane, the viewport defines the mapping of this image plane to a part of the actual window in which your application runs (or the whole screen of the smartphone if the app runs in fullscreen mode). It determines the portion of the application window in which graphics are rendered. Multiple viewports can be stacked and can cover the same or different screen areas as shown in the following figure. For a basic AR application, you typically have two viewports. One is associated with the camera ...

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