Skip to content

Latest commit

 

History

History
90 lines (57 loc) · 3.01 KB

README.md

File metadata and controls

90 lines (57 loc) · 3.01 KB

RealityCore for Android

Render 3D content in your Augmented Reality Android apps.

Maven Central

INITIAL PUSH IN PROGRESS...

DON'T TRY TO USE THE REPO YET.

THIS MESSAGE WILL AUTO-DESTRUCT WHEN EVERYTHING IS READY FOR TEST.

Use the RealityCore SDK to implement high-performance 3D simulation and rendering.

RealityCore leverages information provided by the ARCore SDK to seamlessly integrate virtual objects rendered by Filament Engine into the real world.

Logo

Usage benefits

  • Continuous compatibility with the latests versions of ARCore SDK and Filament Engine
  • Easy to use: No OpenGL or Unity knowledges are needed. Simply use the SDK as any other Android depency requiring nothing more than standard Android app development knowledges.
  • Depth Mode, Augmented Images, Video Textures, HDR Lighting, Cloud Anchors and Augmented Face supported.
  • AR or Non AR (3D model only displaying) modes.
  • glTF stantdard format is natively supported and can be loaded direcly from assets folder. glTF files can be loaded as an environment resource (including models, lights, cameras,...) and interpreted as a RealityCore scene with enties.
  • Animations are standardized and made easy to use by the common Animator implementation.
  • Available as gradle Maven Central dependency
  • Kotlin based

Dependencies

RealityCore is available on mavenCentral(). app/build.gradle

dependencies {
     implementation("com.gorisse.thomas:realitycore:1.0.0")
}

more...

Basic Usage (Simple model viewer)

Update your AndroidManifest.xml

AndroidManifest.xml

<uses-permission android:name="android.permission.CAMERA" />

<application>
    …
    <meta-data android:name="com.google.ar.core" android:value="optional" />
</application>

more...

Add the View to your layout

res/layout/main_activity.xml

<RealityView
    android:id="@+id/realityView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

sample...

Edit your Activity or Fragment

src/main/java/…/MainActivity.java

@Override
protected void onCreate(Bundle savedInstanceState) {
    …
    realityView = findViewById(R.id.realityView)
    
}

sample...