Skip to content

Commit

Permalink
added furnace test (google#719)
Browse files Browse the repository at this point in the history
* added furnace test

* Update screenshots to remove scrollbars
  • Loading branch information
elalish authored and Christopher Joel committed Aug 26, 2019
1 parent b4799d4 commit 2e91ea9
Show file tree
Hide file tree
Showing 65 changed files with 23 additions and 16 deletions.
Binary file added examples/assets/grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/assets/pbr-spheres.glb
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/update-screenshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ const updateScreenshots = async (config) => {
const rendererDirectory = path.join(renderersDirectory, rendererName);
const goldenPath = path.join(scenarioGoldensDirectory, goldenFilename);

if (scenarioWhitelist != null && !scenarioWhitelist.has(rendererName)) {
console.log(`⏭ Skipping ${rendererName}...`);
if (scenarioWhitelist != null && !scenarioWhitelist.has(scenarioName)) {
console.log(`⏭ Skipping ${scenarioName}...`);
continue;
}

Expand Down
35 changes: 21 additions & 14 deletions test/fidelity/config.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
{
"analysisThresholds": [0.0, 1.0, 10.0],
"renderers": [{
"name": "model-viewer",
"description": "<model-viewer>"
}, {
"name": "filament",
"description": "Filament",
"scripts": {
"setup": "prepare-ibl.sh"
"analysisThresholds": [
0.0,
1.0,
10.0
],
"renderers": [
{
"name": "model-viewer",
"description": "<model-viewer>"
},
{
"name": "filament",
"description": "Filament",
"scripts": {
"setup": "prepare-ibl.sh"
}
}
}],
],
"scenarios": [
{
"name": "khronos-2CylinderEngine",
Expand Down Expand Up @@ -258,16 +265,16 @@
}
},
{
"name": "PBR Spheres",
"name": "FurnaceTest",
"model": "../../../../examples/assets/pbr-spheres.glb",
"lighting": "../../../../examples/assets/lightroom_14b.hdr",
"lighting": "../../../../examples/assets/grey.png",
"dimensions": {
"width": 768,
"height": 768
}
},
{
"name": "Alpha Blend Litmus Test",
"name": "AlphaBlendLitmusTest",
"model": "../../../../examples/assets/alpha-blend-litmus.glb",
"lighting": "../../../../examples/assets/lightroom_14b.hdr",
"dimensions": {
Expand All @@ -276,4 +283,4 @@
}
}
]
}
}
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/Astronaut/filament-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/Astronaut/model-viewer-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified test/fidelity/goldens/khronos-2CylinderEngine/filament-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-AntiqueCamera/filament-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-Avocado/filament-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-Avocado/model-viewer-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-BoomBox/filament-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-BoomBox/model-viewer-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-Buggy/filament-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-Buggy/model-viewer-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-CesiumMilkTruck/filament-golden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fidelity/goldens/khronos-Corset/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Corset/model-viewer-golden.png
Binary file modified test/fidelity/goldens/khronos-Cube/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Cube/model-viewer-golden.png
Binary file modified test/fidelity/goldens/khronos-DamagedHelmet/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Duck/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Duck/model-viewer-golden.png
Binary file modified test/fidelity/goldens/khronos-GearboxAssy/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Lantern/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Lantern/model-viewer-golden.png
Binary file modified test/fidelity/goldens/khronos-MetalRoughSpheres/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-MultiUVTest/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-NormalTangentTest/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-OrientationTest/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-SciFiHelmet/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Suzanne/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-Suzanne/model-viewer-golden.png
Binary file modified test/fidelity/goldens/khronos-UnlitTest/filament-golden.png
Binary file modified test/fidelity/goldens/khronos-VertexColorTest/filament-golden.png

0 comments on commit 2e91ea9

Please sign in to comment.