This is the test suite for guc, a glTF to USD converter.
For test-specific information, please see the Graphical Test Overview.
- Build and install USD v23.08 with the following flags:
--materialx --openimageio --build-args OpenImageIO,"-DOIIO_BUILD_TOOLS=ON"
- Build guc in debug configuration, add it to your PATH
- Execute
run_tests.sh
using bash
Test execution can be influenced using following variables:
Name | Description |
---|---|
GT_DISABLE_CONVERSION | Disable glTF to USD conversion. This option reduces test execution time when debugging the MaterialX glTF PBR implementation or hdStorm. |
GT_DISABLE_GRAPHICAL | Disable all graphical tests |
GT_DISABLE_GRAPHICAL_MTLX | Disable MaterialX graphical tests |
GT_DISABLE_GRAPHICAL_PREVIEW | Disable UsdPreviewSurface graphical tests |
GT_VERBOSE | Print all executed commands |
Tests can be executed on the CI, via guc's GitHub Actions workflow.
Note: graphical test execution on the CI is not advised due to long execution times and rendering artifacts.