Skip to content

Commit

Permalink
🎺 Initial release!
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMarquis committed Jun 23, 2019
1 parent 36e58a4 commit 058e873
Show file tree
Hide file tree
Showing 85 changed files with 7,989 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
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'
15 changes: 15 additions & 0 deletions CHANGELOG.md
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!
39 changes: 39 additions & 0 deletions README.md
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 |
|---|---|---|
| ![](art/screenshot_scene.png) | ![](art/screenshot_settings.png) | ![](art/screenshot_models.png) |

## 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.
```
57 changes: 57 additions & 0 deletions app/build.gradle
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')
21 changes: 21 additions & 0 deletions app/proguard-rules.pro
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
7 changes: 7 additions & 0 deletions app/sampledata/models/andy.mtl
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
Loading

0 comments on commit 058e873

Please sign in to comment.