- A triangle tracker under the progress bar to track the test
currently in view within the scroll view.
- Text label to indicate the current device under test when a
test is running.
- add filter intent arg
- Add Fox (animation, skinning) and TransmissionRoughnessTest
(transmission) to the test.
- Add applyAnimation to the ValidationRunner
- Make camera zoom in for default test and adjust tolerance
acoordingly
- Fix non-determinism of SSR by
- waiting for more frames
- account for false returned from beginFrame
- Clear frame history on new test entry
- Include Build.HARDWARE information into result
- Make results array more thread-safe
- Remove unused paths
- Adjust tolerance for two tests
59 lines
1.7 KiB
Groovy
59 lines
1.7 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
id 'com.google.android.filament-tools'
|
|
}
|
|
|
|
project.ext.isSample = true
|
|
|
|
kotlin {
|
|
jvmToolchain(versions.jdk)
|
|
}
|
|
|
|
filament {
|
|
cmgenArgs = "-q --format=ktx --size=256 --extract-blur=0.1 --deploy=src/main/assets/envs/default_env"
|
|
iblInputFile = project.layout.projectDirectory.file("../../../third_party/environments/lightroom_14b.hdr")
|
|
iblOutputDir = project.layout.projectDirectory.dir("src/main/assets/envs")
|
|
}
|
|
|
|
// don't forget to update MainActivity.kt when/if changing this.
|
|
tasks.register('copyModels', Copy) {
|
|
from file("../../../third_party/models/DamagedHelmet/DamagedHelmet.glb")
|
|
from file("../../../third_party/models/Fox/Fox.glb")
|
|
from file("../../../third_party/models/TransmissionRoughnessTest/TransmissionRoughnessTest.glb")
|
|
into file("src/main/assets/models")
|
|
}
|
|
|
|
preBuild.dependsOn copyModels
|
|
|
|
clean.doFirst {
|
|
delete "src/main/assets/envs"
|
|
delete "src/main/assets/models"
|
|
}
|
|
|
|
android {
|
|
namespace 'com.google.android.filament.validation'
|
|
|
|
compileSdkVersion versions.compileSdk
|
|
defaultConfig {
|
|
applicationId "com.google.android.filament.validation"
|
|
minSdkVersion versions.minSdk
|
|
targetSdkVersion versions.targetSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility versions.jdk
|
|
targetCompatibility versions.jdk
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation deps.kotlin
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'com.google.android.material:material:1.10.0'
|
|
implementation deps.coroutines.core
|
|
implementation project(':filament-android')
|
|
implementation project(':gltfio-android')
|
|
implementation project(':filament-utils-android')
|
|
}
|