Git Product home page Git Product logo

sceneform-reactnative's Introduction

Discord Server

Join us on Discord if you need a hand or just want to talk about Sceneform and AR.

Features

  • Remote and local assets
  • Augmented Faces
  • Cloud anchors
  • Plane detection
  • Feature quality indicator
  • Depth API
  • Location anchors
  • Video recording
  • Screenshots

react-native-sceneform

Location markers Augmented Faces Object placing Cloud anchors

Requirements

This package requires your app to target Android SDK 24 at least and react-native 0.66+

Also, this package does not handle permissions, be sure to request:

  • CAMERA: for AR view.
  • WRITE_EXTERNAL_STORAGE: for screenshots.
  • RECORD_AUDIO: for recording video.
  • ACCESS_FINE_LOCATION/ACCESS_COARSE_LOCATION: for location-based AR.

Installation

  • Install from npm running npm install --save @sceneview/react-native-sceneform
  • Add the following to your AndroidManifest.xml inside the Application node.
<meta-data  android:name="com.google.ar.core"  android:value="required"  />
  • In your app/build.gradle, set your minSdkVersion to 24.

If you are going to use Cloud Anchors, be sure to add your API Key to the AndroidManifest or to sign your application in the Google Cloud Platform console (keyless auth)

Loading the library

import { SceneformView, AugmentedFacesView } from 'react-native-sceneform';

Components and Definitions

Examples

To do

  • Augmented images
  • No-AR view (3D model viewer)
  • Runtime renderable creation
  • Custom lights
  • Animation manipulation (currently animations are played automatically)
  • Depth toggling

Credits

ARCore-Location

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.