mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
Implemented Step 1 of MaterialX todo list: - Extended MaterialXConfigAPI structure with mtlx_namespace, mtlx_colorspace, and mtlx_sourceUri fields - Added MaterialXConfigAPI parsing support in Material reconstruction - Implemented OpenPBRSurface shader reconstruction from USD properties - Implemented MtlxAutodeskStandardSurface shader reconstruction with all material properties - Enhanced NodeGraph struct with MaterialX-specific attributes (nodedef, nodegraph_type) - Fixed typo in kMtlxAutodeskStandardSurface constant name Added comprehensive unit tests: - MaterialXConfigAPI structure tests (default values) - MaterialXConfigAPI parsing tests (loading from USD) - OpenPBRSurface reconstruction tests - MtlxAutodeskStandardSurface reconstruction tests - NodeGraph support tests - Shader type constants tests - Fallback values tests for MaterialX shaders All tests passing successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
467 B
C
13 lines
467 B
C
// SPDX-License-Identifier: Apache 2.0
|
|
// Copyright 2024 - Present, Light Transport Entertainment Inc.
|
|
|
|
#pragma once
|
|
|
|
void materialx_config_api_struct_test(void);
|
|
void materialx_config_api_parsing_test(void);
|
|
void openpbr_surface_reconstruction_test(void);
|
|
void mtlx_standard_surface_reconstruction_test(void);
|
|
void nodegraph_support_test(void);
|
|
void materialx_shader_constants_test(void);
|
|
void materialx_shader_fallback_values_test(void);
|
|
void materialx_tests(void); |