-
Notifications
You must be signed in to change notification settings - Fork 407
Initial nodedef comparison script #2723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial nodedef comparison script #2723
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.
|
Although this is just the first iteration of As a starting point, here is the output of |
niklasharrysson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fantastic! Will be super useful for tracking differences between the data libraries and the specification.
e0f8e15
into
AcademySoftwareFoundation:main
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.