github: add script and action for getting gltf assets (#9085)

- Script for getting models from glTF-Sample-Assets
- Add support for reading gltf models from a file.
This commit is contained in:
Powei Feng
2025-08-21 22:16:12 +00:00
committed by GitHub
parent 5fd5cd270c
commit 679b08b5db
10 changed files with 136 additions and 9 deletions
+4
View File
@@ -23,6 +23,10 @@ function start_render_() {
bash ${BUILD_COMMON_DIR}/get-mesa.sh
fi
if [ ! -d ${GLTF_DIR} ]; then
cat ${RENDERDIFF_TEST_DIR}/tests/gltf_models.txt | xargs bash ${BUILD_COMMON_DIR}/get-gltf-sample-assets.sh
fi
# Install python deps
python3 -m venv ${VENV_DIR}
source ${VENV_DIR}/bin/activate