Showing posts with label AugmentedRealityHorizonExample. Show all posts
Showing posts with label AugmentedRealityHorizonExample. Show all posts

Wednesday, September 4, 2013

[Tut] How to perform AndEngine Examples of Nicolas Gramlich - AugmentedRealityHorizonExample (with camera horizontally)



This example is the same as AugmentedRealityExample using 2 files in org.anddev.andengine.extension.augmentedreality package

Create new class named AugmentedRealityHorizonExample in org.anddev.andengine.examples package. Here is the code of this class:
package org.anddev.andengine.examples;

import org.anddev.andengine.engine.Engine;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation;
import org.anddev.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy;
import org.anddev.andengine.entity.scene.Scene;
import org.anddev.andengine.entity.scene.background.ColorBackground;

Posted By Dev Bananaer9:13 AM

Choose an Android item