Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Sceneform SDK v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictornvictor committed Feb 14, 2019
1 parent 26185e7 commit 2f8c877
Show file tree
Hide file tree
Showing 87 changed files with 26,859 additions and 88 deletions.
Binary file added assets/canonical_face_mesh.fbx
Binary file not shown.
13 changes: 13 additions & 0 deletions samples/animation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Android Studio configuration.
*.iml
.idea/
#
# # Gradle configuration.
.gradle/
build/
#
# # User configuration.
local.properties
#
# # OS configurations.
.DS_Store
1 change: 1 addition & 0 deletions samples/animation/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
45 changes: 45 additions & 0 deletions samples/animation/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.google.ar.sceneform.samples.animation"
minSdkVersion 24
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}

dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'

// Sceneform
implementation "com.google.ar.sceneform.ux:sceneform-ux:1.7.0"
implementation "com.google.ar.sceneform:animation:1.7.0"
implementation 'com.android.support:design:28.0.0'
}

apply plugin: 'com.google.ar.sceneform.plugin'

sceneform.asset('sampledata/models/andy_dance.fbx',
'default',
'sampledata/models/andy_dance.sfa',
'src/main/res/raw/andy_dance',
['sampledata/models/andy_wave_r.fbx', 'sampledata/models/andy_wave_l.fbx'])

sceneform.asset('sampledata/models/baseball-cap.gltf',
'default',
'sampledata/models/baseball-cap.sfa',
'src/main/res/raw/baseball_cap')
17 changes: 17 additions & 0 deletions samples/animation/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /opt/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Loading

0 comments on commit 2f8c877

Please sign in to comment.