Experimental addon for openFrameworks to use ARCore on Android devices
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8491425 Mar 20, 2018
Permalink
Failed to load latest commit information.
exampleBasic updates for ARCore 1.0 Mar 16, 2018
exampleDrawing updates for ARCore 1.0 Mar 16, 2018
ofxARCoreLib updates for ARCore 1.0 Mar 16, 2018
src updates for ARCore 1.0 Mar 16, 2018
.gitignore First releas Aug 29, 2017
CONTRIBUTING.md First releas Aug 29, 2017
LICENSE First releas Aug 29, 2017
README.md Update README.md Mar 20, 2018
addon_config.mk Working Aug 17, 2017
preview.gif First releas Aug 29, 2017

README.md

ofxARCore

Experimental addon for openFrameworks to use ARCore on Android devices.

preview

About

This openFrameworks addon implements some of the basic features from the ARCore API to be used in openFrameworks. This addon is not feature complete yet. Currently it only supports the basic camera tracking, rendering the camera image, besides basic anchor support. Even though its not feature complete, it should give a good starting point to work with AR in openFrameworks.

This is not an official Google product.

Developer guide

To use the addon, you need the development branch of openFrameworks from github. Follow the Android Studio guide to learn how to get started with openFrameworks and Android.

To add the addon, add ofxARCore to addons.make in your project, or through the project generator. Additionally you will need to add the following two lines to the end of settings.gradle of your project:

To see basic usage of the addon, see the example code

Examples

Basic example

Shows how to use the addon in the most basic way, just rendering a grid centered around origin.

Drawing example

A simple demo that lets you draw in the air.

The app calculates the world coordinates from touch events on the screen, and draws a continuous white line through the air. Read more on AR Experiments site.

There is also a never version ported to Java available here: github.com/googlecreativelab/ar-drawing-java