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

Commit 2f8c877

Browse files
Sceneform SDK v1.7.0
1 parent 26185e7 commit 2f8c877

File tree

87 files changed

+26859
-88
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+26859
-88
lines changed

assets/canonical_face_mesh.fbx

145 KB
Binary file not shown.

samples/animation/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Android Studio configuration.
2+
*.iml
3+
.idea/
4+
#
5+
# # Gradle configuration.
6+
.gradle/
7+
build/
8+
#
9+
# # User configuration.
10+
local.properties
11+
#
12+
# # OS configurations.
13+
.DS_Store

samples/animation/app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

samples/animation/app/build.gradle

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 28
5+
defaultConfig {
6+
applicationId "com.google.ar.sceneform.samples.animation"
7+
minSdkVersion 24
8+
targetSdkVersion 28
9+
versionCode 1
10+
versionName "1.0"
11+
}
12+
buildTypes {
13+
release {
14+
minifyEnabled false
15+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
16+
}
17+
}
18+
compileOptions {
19+
targetCompatibility 1.8
20+
sourceCompatibility 1.8
21+
}
22+
}
23+
24+
dependencies {
25+
implementation 'com.android.support:appcompat-v7:28.0.0'
26+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
27+
28+
// Sceneform
29+
implementation "com.google.ar.sceneform.ux:sceneform-ux:1.7.0"
30+
implementation "com.google.ar.sceneform:animation:1.7.0"
31+
implementation 'com.android.support:design:28.0.0'
32+
}
33+
34+
apply plugin: 'com.google.ar.sceneform.plugin'
35+
36+
sceneform.asset('sampledata/models/andy_dance.fbx',
37+
'default',
38+
'sampledata/models/andy_dance.sfa',
39+
'src/main/res/raw/andy_dance',
40+
['sampledata/models/andy_wave_r.fbx', 'sampledata/models/andy_wave_l.fbx'])
41+
42+
sceneform.asset('sampledata/models/baseball-cap.gltf',
43+
'default',
44+
'sampledata/models/baseball-cap.sfa',
45+
'src/main/res/raw/baseball_cap')
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /opt/android-sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}

0 commit comments

Comments
 (0)