Giter Site home page Giter Site logo

tomschofield / ofxarcore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halfdanj/ofxarcore

0.0 2.0 0.0 6.65 MB

Experimental addon for openFrameworks to use ARCore on Android devices

License: Apache License 2.0

Makefile 9.80% C++ 67.53% Java 22.67%

ofxarcore's Introduction

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 a special version of openFrameworks from github. It should hopefully merged into the official openFrameworks soon. 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:

include ':arcore_client'
project(':arcore_client').projectDir = new File(ofRoot + 'addons/ofxARCore/ofxARCoreLib/arcore_client')

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

Examples

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

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

ofxarcore's People

Contributors

halfdanj avatar danzeeeman avatar tomschofield avatar irealva avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.