Initial nodedef comparison script#2723
Merged
jstone-lucasfilm merged 3 commits intoAcademySoftwareFoundation:mainfrom Dec 16, 2025
Merged
Initial nodedef comparison script#2723jstone-lucasfilm merged 3 commits intoAcademySoftwareFoundation:mainfrom
jstone-lucasfilm merged 3 commits intoAcademySoftwareFoundation:mainfrom
Conversation
This changelist adds an initial nodedef comparison script to MaterialX, allowing a user to compare node definitions between a data library document (e.g. stdlib_defs.mtlx) and a specification document (e.g. MaterialX.StandardNodes.md), reporting any differences between the two in their supported node sets, typed node signatures, and default values. The new script builds upon the recent node formatting improvements proposed by the AOUSD Materials Working Group, which greatly increased the accessibility of the MaterialX specification documents to machine parsing and analysis. GitHub CI additionally calls the nodedef comparison script on each commit to MaterialX, providing a trackable history of the alignment between data libraries and the specification.
Member
Author
|
Although this is just the first iteration of As a starting point, here is the output of |
niklasharrysson
approved these changes
Dec 16, 2025
Contributor
niklasharrysson
left a comment
There was a problem hiding this comment.
This looks fantastic! Will be super useful for tracking differences between the data libraries and the specification.
e0f8e15
into
AcademySoftwareFoundation:main
33 checks passed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changelist adds an initial nodedef comparison script to MaterialX, allowing a user to compare node definitions between a data library document (e.g. stdlib_defs.mtlx) and a specification document (e.g. MaterialX.StandardNodes.md), reporting any differences between the two in their supported node sets, typed node signatures, and default values.
The new script builds upon the recent node formatting improvements proposed by the AOUSD Materials Working Group, which greatly increased the accessibility of the MaterialX specification documents to machine parsing and analysis.
GitHub CI additionally calls the nodedef comparison script on each commit to MaterialX, providing a trackable history of the alignment between data libraries and the specification.