Skip to content

Commit

Permalink
new Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
AymanKandil committed Sep 18, 2020
1 parent 82cec8c commit f576037
Show file tree
Hide file tree
Showing 127 changed files with 1,688,098 additions and 328 deletions.
18 changes: 18 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

127 changes: 115 additions & 12 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,28 @@ apply plugin: 'com.google.ar.sceneform.plugin'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: "androidx.navigation.safeargs"

android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.example.helloar"
minSdkVersion 25
ndkVersion "21.0.6113669"
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug{
testCoverageEnabled=true
minifyEnabled true
}
release {
minifyEnabled false
testCoverageEnabled=false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand All @@ -28,19 +35,52 @@ android {
}

dependencies {
implementation 'com.google.firebase:firebase-database:19.2.1'
implementation 'com.google.firebase:firebase-core:17.3.0'


implementation 'com.google.firebase:firebase-database:19.4.0'
implementation 'com.google.firebase:firebase-core:17.5.0'
implementation 'com.google.firebase:firebase-auth:19.3.2'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.15.0'
implementation 'com.google.firebase:firebase-auth:19.3.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.android.material:material:1.1.0'

implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'

implementation 'com.google.ar:core:1.19.0'
implementation 'com.google.ar.sceneform:core:1.15.0'
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.17.1'
implementation 'com.google.ar:core:1.19.0'


implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.drawerlayout:drawerlayout:1.1.1'

def nav_version = "2.3.0"
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"

implementation 'com.github.AppIntro:AppIntro:6.0.0'

// implementation 'andriodx.navigation:navigation-fragment-ktx:2.2.0-rc03'
// implementation 'andriodx.navigation:navigation-ui-ktx:2.2.0-rc03'

implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.0"



implementation 'androidx.core:core:1.3.1'




}


Expand Down Expand Up @@ -78,3 +118,66 @@ sceneform.asset('sampledata/Bookshelf.obj',
'default',
'sampledata/Bookshelf.sfa',
'src/main/assets/Bookshelf')

sceneform.asset('sampledata/arcade_machine.obj',
'default',
'sampledata/arcade_machine.sfa',
'src/main/assets/arcade_machine')


sceneform.asset('sampledata/breakfast_bar.obj',
'default',
'sampledata/breakfast_bar.sfa',
'src/main/assets/breakfast_bar')
sceneform.asset('sampledata/closet.obj',
'default',
'sampledata/closet.sfa',
'src/main/assets/closet')
sceneform.asset('sampledata/computer_chair.obj',
'default',
'sampledata/computer_chair.sfa',
'src/main/assets/computer_chair')
sceneform.asset('sampledata/corner_table.obj',
'default',
'sampledata/corner_table.sfa',
'src/main/assets/corner_table')
sceneform.asset('sampledata/drums.obj',
'default',
'sampledata/drums.sfa',
'src/main/assets/drums')
sceneform.asset('sampledata/garden_bench.obj',
'default',
'sampledata/garden_bench.sfa',
'src/main/assets/garden_bench')
sceneform.asset('sampledata/piano.obj',
'default',
'sampledata/piano.sfa',
'src/main/assets/piano')
sceneform.asset('sampledata/sm_bed.obj',
'default',
'sampledata/sm_bed.sfa',
'src/main/assets/sm_bed')
sceneform.asset('sampledata/sm_closet.obj',
'default',
'sampledata/sm_closet.sfa',
'src/main/assets/sm_closet')
sceneform.asset('sampledata/table_tennis_table.obj',
'default',
'sampledata/table_tennis_table.sfa',
'src/main/assets/table_tennis_table')
sceneform.asset('sampledata/wall_desk.obj',
'default',
'sampledata/wall_desk.sfa',
'src/main/assets/wall_desk')
sceneform.asset('sampledata/wall_shelf.obj',
'default',
'sampledata/wall_shelf.sfa',
'src/main/assets/wall_shelf')
sceneform.asset('sampledata/wood_chair.obj',
'default',
'sampledata/wood_chair.sfa',
'src/main/assets/wood_chair')
sceneform.asset('sampledata/wood_table.obj',
'default',
'sampledata/wood_table.sfa',
'src/main/assets/wood_table')
Binary file added app/sampledata/2083b617.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/sampledata/Armchair.sfa
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
name: 'Armchair',
recenter: 'root',
scale: 1.0000000000000002e-06,
//scale: 0.44764700000000002,
},
version: '0.54:2',
}
26 changes: 26 additions & 0 deletions app/sampledata/Armoire.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
# File Created: 08.09.2017 09:12:48

newmtl 02___Default
Ns 10.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.3255 0.1686 0.1255
Kd 0.3255 0.1686 0.1255
Ks 0.0000 0.0000 0.0000
Ke 0.0000 0.0000 0.0000

newmtl _crayfishdiffuse
Ns 30.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.5451 0.3804 0.3412
Kd 0.5451 0.3804 0.3412
Ks 0.2000 0.2000 0.2000
Ke 0.0000 0.0000 0.0000
3 changes: 2 additions & 1 deletion app/sampledata/Bed.sfa
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@
file: 'sampledata/Bed.obj',
name: 'Bed',
recenter: 'root',

//scale: 0.44764700000000002,
scale: 0.5,
},
version: '0.54:2',
}
42 changes: 42 additions & 0 deletions app/sampledata/Bed_01.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Blender MTL File: '5.blend'
# Material Count: 4

newmtl 009688
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.588235 0.533333
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7

newmtl 039BE5
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.011765 0.607843 0.898039
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7

newmtl 795548
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.474510 0.333333 0.282353
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7

newmtl FFFFFF
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7
2 changes: 2 additions & 0 deletions app/sampledata/Bookshelf.sfa
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
file: 'sampledata/Bookshelf.obj',
name: 'Bookshelf',
recenter: 'root',
scale: 0.5,
//scale: 0.44764700000000002,
},
version: '0.54:2',
}
2 changes: 2 additions & 0 deletions app/sampledata/Couch.sfa
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@
file: 'sampledata/Couch.obj',
name: 'Couch',
recenter: 'root',
scale: 0.5,
//scale: 0.44764700000000002,
},
version: '0.54:2',
}
3 changes: 2 additions & 1 deletion app/sampledata/Fluffy_Chair.sfa
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@
file: 'sampledata/Fluffy_Chair.obj',
name: 'Fluffy_Chair',
recenter: 'root',
scale: 0.502444,
//scale: 0.502444,
scale: 0.5,
},
version: '0.54:2',
}
1 change: 1 addition & 0 deletions app/sampledata/Long_Couch.sfa
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
file: 'sampledata/Long_Couch.obj',
name: 'Long_Couch',
recenter: 'root',
scale: 0.44764700000000002,
},
version: '0.54:2',
}
42 changes: 42 additions & 0 deletions app/sampledata/Piano_01.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Blender MTL File: '10.blend'
# Material Count: 4

newmtl 1A1A1A
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.101961 0.101961 0.101961
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7

newmtl DD9944
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.866667 0.600000 0.266667
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7

newmtl FFEB3B
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 1.000000 0.921569 0.231373
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7

newmtl FFFFFF
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.000000
illum 7
Loading

0 comments on commit f576037

Please sign in to comment.