You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to either miss or bypass the channels attribute on an input
If this occurs this can fail validation due to input / output type being found to be different types.
(Note: There also appears to be issues with how this attribute can sometimes not propagate properly
with interface inputs and outputs.)
Suggestion
Add a convenience utility to convert implicit channels attributes to explicit nodes (such as an extract, swizzle etc)
The text was updated successfully, but these errors were encountered:
jstone-lucasfilm
changed the title
Suggestion: Add utility to convert implicit "channel" extract to explicit nodes
Add API call to convert channels attributes to nodes
Feb 28, 2024
Thanks for this report, @kwokcb, and I'll just add a note that this will be addressed by the design changes in MaterialX 1.39, which includes the replacement of channels attributes with explicit nodes.
Issue
It is possible to either miss or bypass the
channels
attribute on aninput
If this occurs this can fail validation due to input / output type being found to be different types.
(Note: There also appears to be issues with how this attribute can sometimes not propagate properly
with interface inputs and outputs.)
Suggestion
Add a convenience utility to convert implicit
channels
attributes to explicit nodes (such as anextract
,swizzle
etc)The text was updated successfully, but these errors were encountered: