-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36e58a4
commit 058e873
Showing
85 changed files
with
7,989 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: android | ||
jdk: oraclejdk8 | ||
before_cache: | ||
- 'rm -f $HOME/.gradle/caches/modules-2/modules-2.lock' | ||
- 'rm -fr $HOME/.gradle/caches/*/plugin-resolution/' | ||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
- $HOME/.android/build-cache | ||
android: | ||
licenses: | ||
- android-sdk-preview-license-.+ | ||
- android-sdk-license-.+ | ||
- google-gdk-license-.+ | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-29.0.0 | ||
- android-29 | ||
- extra | ||
before_install: | ||
- 'chmod +x gradlew' | ||
script: | ||
- './gradlew clean check --stacktrace' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Changelog | ||
|
||
<details><summary>Releases</summary> | ||
|
||
<!-- MarkdownTOC --> | ||
|
||
- [1.0.0](#100) | ||
|
||
<!-- /MarkdownTOC --> | ||
</details> | ||
|
||
## 1.0.0 | ||
> 2019.04.21 | ||
- 🎺 Initial release! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<div align="center"> | ||
<img src="art/ic_launcher-web.png" alt="" width="96px" height="96px"> | ||
</div> | ||
<h3 align="center">AR Toolbox</h3> | ||
<p align="center"> | ||
ARCore & Sceneform Playground<br> | ||
<img src="https://travis-ci.com/SimonMarquis/AR-Toolbox.svg?branch=master" alt="Build Status"> | ||
</p> | ||
|
||
<br> | ||
|
||
| Scene | Settings | Models | | ||
|---|---|---| | ||
|  |  |  | | ||
|
||
## Credits | ||
|
||
- [ARCore](https://github.com/google-ar/arcore-android-sdk) | ||
- [Sceneform](https://github.com/google-ar/sceneform-android-sdk) | ||
- [ColorSeekBar](https://github.com/divyanshub024/ColorSeekBar) | ||
- [glTF-Sample-Models](https://github.com/KhronosGroup/glTF-Sample-Models) | ||
|
||
## License | ||
|
||
``` | ||
Copyright 2019 Simon Marquis | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
apply plugin: 'kotlin-android' | ||
|
||
apply plugin: 'kotlin-android-extensions' | ||
|
||
android { | ||
compileSdkVersion 29 | ||
buildToolsVersion "29.0.0" | ||
defaultConfig { | ||
applicationId "fr.smarquis.ar_toolbox" | ||
minSdkVersion 24 | ||
targetSdkVersion 29 | ||
versionCode 1 | ||
versionName "1.0" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
vectorDrawables.useSupportLibrary = true | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
} | ||
|
||
dependencies { | ||
testImplementation 'junit:junit:4.12' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.1' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' | ||
|
||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation 'androidx.appcompat:appcompat:1.1.0-beta01' | ||
implementation 'androidx.core:core-ktx:1.0.2' | ||
implementation 'androidx.preference:preference-ktx:1.1.0-beta01' | ||
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0-alpha01' | ||
|
||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | ||
implementation 'com.google.android.material:material:1.1.0-alpha07' | ||
|
||
implementation 'com.google.ar:core:1.10.0' | ||
implementation 'com.google.ar.sceneform:core:1.10.0' | ||
implementation 'com.google.ar.sceneform:assets:1.10.0' | ||
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.10.0' | ||
} | ||
|
||
apply plugin: 'com.google.ar.sceneform.plugin' | ||
|
||
sceneform.asset('sampledata/models/andy.obj', | ||
'default', | ||
'sampledata/models/andy.sfa', | ||
'src/main/res/raw/andy') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# 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 *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
newmtl unlit_material | ||
illum 2 | ||
Kd 0.00 0.00 0.00 | ||
Ka 0.00 0.00 0.00 | ||
Tf 1.00 1.00 1.00 | ||
map_Kd andy.png | ||
Ni 1.00 |
Oops, something went wrong.