forked from BabylonJS/Babylon.js
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
12 changed files
with
86 additions
and
101 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
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
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 @@ | ||
models |
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,12 @@ | ||
# Khronos 3D Commerce Viewer Certification | ||
|
||
This page will run through all of the tests required for [3D Commerce Viewer Certification Program](https://www.khronos.org/3dcommerce/certification) and create a download for a zip with the results for submission. | ||
|
||
## Setup | ||
1. Download the [certification models](https://github.com/KhronosGroup/3DC-Certification/tree/main/models) and place them in a subfolder under this folder called `models`. | ||
1. Launch the certification from vscode using the `Launch 3D Commerce Viewer Certification (Chrome)`. | ||
1. Wait a few minutes for the page to render all the models and capture screenshots. | ||
_NOTE: The browser freezes a lot while loading these models. Please be patient._ | ||
1. Once the process completes, the page will generate a `certification.zip` for download with the results. | ||
|
||
_NOTE: The page will use the local dist version of the sandbox (i.e. http://localhost:1338/sandbox/public/index-local.html?dist=true). Using the dev loader (i.e. without the `dist=true`) to load the sandbox makes this process much slower._ |
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
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
File renamed without changes.
44 changes: 22 additions & 22 deletions
44
tests/certification/config.json → tests/certification/src/config.json
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 |
---|---|---|
@@ -1,128 +1,128 @@ | ||
{ | ||
"root": "https://cdn.babylonjs.com", | ||
"root": "http://localhost:1338/tests/certification/models", | ||
"tests": [ | ||
{ | ||
"title": "AnalyticalCubes", | ||
"model": "AnalyticalCubes/glTF/AnalyticalCubes.gltf", | ||
"referenceImage": "models/AnalyticalCubes/rr-AnalyticalCubes.png" | ||
"referenceImage": "AnalyticalCubes/rr-AnalyticalCubes.png" | ||
}, | ||
{ | ||
"title": "AnalyticalGrayscale", | ||
"model": "AnalyticalGrayscale/glTF/AnalyticalGrayscale.gltf", | ||
"referenceImage": "models/AnalyticalGrayscale/rr-AnalyticalGrayscale.png" | ||
"referenceImage": "AnalyticalGrayscale/rr-AnalyticalGrayscale.png" | ||
}, | ||
{ | ||
"title": "AnalyticalSpheres (Neutral)", | ||
"model": "AnalyticalSpheres/glTF/AnalyticalSpheres.gltf", | ||
"referenceImage": "models/AnalyticalSpheres/rr-AnalyticalSpheres.png" | ||
"referenceImage": "AnalyticalSpheres/rr-AnalyticalSpheres.png" | ||
}, | ||
{ | ||
"title": "AnalyticalSpheres (Cannon)", | ||
"model": "AnalyticalSpheres/glTF/AnalyticalSpheres.gltf", | ||
"environment": "Cannon_Exterior.hdr", | ||
"referenceImage": "models/AnalyticalSpheres/rr-AnalyticalSpheres-Cannon.png" | ||
"referenceImage": "AnalyticalSpheres/rr-AnalyticalSpheres-Cannon.png" | ||
}, | ||
{ | ||
"title": "AnalyticalSpheres (Street)", | ||
"model": "AnalyticalSpheres/glTF/AnalyticalSpheres.gltf", | ||
"environment": "Wide_Street.hdr", | ||
"referenceImage": "models/AnalyticalSpheres/rr-AnalyticalSpheres-Street.png" | ||
"referenceImage": "AnalyticalSpheres/rr-AnalyticalSpheres-Street.png" | ||
}, | ||
{ | ||
"title": "AnalyticalSpheres (Studio)", | ||
"model": "AnalyticalSpheres/glTF/AnalyticalSpheres.gltf", | ||
"environment": "Colorful_Studio.hdr", | ||
"referenceImage": "models/AnalyticalSpheres/rr-AnalyticalSpheres-Studio.png" | ||
"referenceImage": "AnalyticalSpheres/rr-AnalyticalSpheres-Studio.png" | ||
}, | ||
{ | ||
"title": "GreenChair (0)", | ||
"model": "GreenChair/glTF/GreenChair.gltf", | ||
"camera": 0, | ||
"referenceImage": "models/GreenChair/rr-GreenChair-0.png" | ||
"referenceImage": "GreenChair/rr-GreenChair-0.png" | ||
}, | ||
{ | ||
"title": "GreenChair (1)", | ||
"model": "GreenChair/glTF/GreenChair.gltf", | ||
"camera": 1, | ||
"referenceImage": "models/GreenChair/rr-GreenChair-1.png" | ||
"referenceImage": "GreenChair/rr-GreenChair-1.png" | ||
}, | ||
{ | ||
"title": "GreenChair (2)", | ||
"model": "GreenChair/glTF/GreenChair.gltf", | ||
"camera": 2, | ||
"referenceImage": "models/GreenChair/rr-GreenChair-2.png" | ||
"referenceImage": "GreenChair/rr-GreenChair-2.png" | ||
}, | ||
{ | ||
"title": "Mixer (0)", | ||
"model": "Mixer/glTF/Mixer.gltf", | ||
"camera": 0, | ||
"referenceImage": "models/Mixer/rr-Mixer-0.png" | ||
"referenceImage": "Mixer/rr-Mixer-0.png" | ||
}, | ||
{ | ||
"title": "Mixer (1)", | ||
"model": "Mixer/glTF/Mixer.gltf", | ||
"camera": 1, | ||
"referenceImage": "models/Mixer/rr-Mixer-1.png" | ||
"referenceImage": "Mixer/rr-Mixer-1.png" | ||
}, | ||
{ | ||
"title": "Mixer (2)", | ||
"model": "Mixer/glTF/Mixer.gltf", | ||
"camera": 2, | ||
"referenceImage": "models/Mixer/rr-Mixer-2.png" | ||
"referenceImage": "Mixer/rr-Mixer-2.png" | ||
}, | ||
{ | ||
"title": "Shoe (0)", | ||
"model": "Shoe/glTF/Shoe.gltf", | ||
"camera": 0, | ||
"referenceImage": "models/Shoe/rr-Shoe-0.png" | ||
"referenceImage": "Shoe/rr-Shoe-0.png" | ||
}, | ||
{ | ||
"title": "Shoe (1)", | ||
"model": "Shoe/glTF/Shoe.gltf", | ||
"camera": 1, | ||
"referenceImage": "models/Shoe/rr-Shoe-1.png" | ||
"referenceImage": "Shoe/rr-Shoe-1.png" | ||
}, | ||
{ | ||
"title": "Shoe (2)", | ||
"model": "Shoe/glTF/Shoe.gltf", | ||
"camera": 2, | ||
"referenceImage": "models/Shoe/rr-Shoe-2.png" | ||
"referenceImage": "Shoe/rr-Shoe-2.png" | ||
}, | ||
{ | ||
"title": "TennisRacquet (0)", | ||
"model": "TennisRacquet/glTF/TennisRacquet.gltf", | ||
"camera": 0, | ||
"referenceImage": "models/TennisRacquet/rr-TennisRacquet-0.png" | ||
"referenceImage": "TennisRacquet/rr-TennisRacquet-0.png" | ||
}, | ||
{ | ||
"title": "TennisRacquet (1)", | ||
"model": "TennisRacquet/glTF/TennisRacquet.gltf", | ||
"camera": 1, | ||
"referenceImage": "models/TennisRacquet/rr-TennisRacquet-1.png" | ||
"referenceImage": "TennisRacquet/rr-TennisRacquet-1.png" | ||
}, | ||
{ | ||
"title": "TennisRacquet (2)", | ||
"model": "TennisRacquet/glTF/TennisRacquet.gltf", | ||
"camera": 2, | ||
"referenceImage": "models/TennisRacquet/rr-TennisRacquet-2.png" | ||
"referenceImage": "TennisRacquet/rr-TennisRacquet-2.png" | ||
}, | ||
{ | ||
"title": "WickerChair (0)", | ||
"model": "WickerChair/glTF/WickerChair.gltf", | ||
"camera": 0, | ||
"referenceImage": "models/WickerChair/rr-WickerChair-0.png" | ||
"referenceImage": "WickerChair/rr-WickerChair-0.png" | ||
}, | ||
{ | ||
"title": "WickerChair (1)", | ||
"model": "WickerChair/glTF/WickerChair.gltf", | ||
"camera": 1, | ||
"referenceImage": "models/WickerChair/rr-WickerChair-1.png" | ||
"referenceImage": "WickerChair/rr-WickerChair-1.png" | ||
}, | ||
{ | ||
"title": "WickerChair (2)", | ||
"model": "WickerChair/glTF/WickerChair.gltf", | ||
"camera": 2, | ||
"referenceImage": "models/WickerChair/rr-WickerChair-2.png" | ||
"referenceImage": "WickerChair/rr-WickerChair-2.png" | ||
} | ||
] | ||
} |
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.