-
Notifications
You must be signed in to change notification settings - Fork 364
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
Unable to create nodes with namespace in MaterialX Graph Editor #1695
Comments
zicher3d
added a commit
to autodesk-forks/MaterialX
that referenced
this issue
Feb 6, 2024
This commit includes: - all Legacy (Protein) classes - procedural nodes (checker, noise, turbulence 2d/3d) - utilities (stain, normals combine nodes) For now all nodes are under "adsk_legacy" group, except the turbulence ones that might be ok to be added to the standard lib. Becasue of a bug in the handling of namespaces in the Graph Editor all namespaces are set to "". Bug: AcademySoftwareFoundation#1695
zicher3d
added a commit
to autodesk-forks/MaterialX
that referenced
this issue
Mar 14, 2024
* Initial commit legacy materials This commit includes: - all Legacy (Protein) classes - procedural nodes (checker, noise, turbulence 2d/3d) - utilities (stain, normals combine nodes) For now all nodes are under "adsk_legacy" group, except the turbulence ones that might be ok to be added to the standard lib. Becasue of a bug in the handling of namespaces in the Graph Editor all namespaces are set to "". Bug: AcademySoftwareFoundation#1695 * Test files for legacy material This includes a single MTLX file and a set of textures. The MTLX file can be loaded in MaterialX Viewer and materials selected from the UI * Adding values to test file Adding values to all inputs to avoid warnings. This files generates no warning messages when loaded in MaterialX viewer Also fixing a small typo in the defs file * USD test file This is a USD test file that can be loaded in usdview to test the same materials that the legacy_materials_test.mtlx tests in MaterialX viewer. Open the file in usdview, select the ShaderBall object and in the Meta data panel you can select a variant for each material class. The legacy materials node defs are also updated to remove a stub for namespace that was causing trouble in usdview (but was ok in MaterialX viewer). A typo in the comments was also fixed. * Stubs for OSL and MDL turbulence noise Stubs for implementation of: - turbulence2d_float - turbulence3d_float in OSL and MDL. Currently returning a solid color. This is just to check the build warnings. * Test for matching implementation count Just a test to see if hardcoded expected skip count does influence overall implementation counters and failure to match. Testing for glsl only. * Revert "Test for matching implementation count" This reverts commit 12e011f. * Added test mtlx file for unused nodedefs Tests were failing because the node turbulence2D was defined but never used in any TestSuite file. Adding a other.mtlx as a container for these orphans nodes. Note that for consistency I also added turbulence3d in there, even if not necessary as it's used in the main material test file.
ashwinbhat
pushed a commit
to autodesk-forks/MaterialX
that referenced
this issue
Apr 9, 2024
* Initial commit legacy materials This commit includes: - all Legacy (Protein) classes - procedural nodes (checker, noise, turbulence 2d/3d) - utilities (stain, normals combine nodes) For now all nodes are under "adsk_legacy" group, except the turbulence ones that might be ok to be added to the standard lib. Becasue of a bug in the handling of namespaces in the Graph Editor all namespaces are set to "". Bug: AcademySoftwareFoundation#1695 * Test files for legacy material This includes a single MTLX file and a set of textures. The MTLX file can be loaded in MaterialX Viewer and materials selected from the UI * Adding values to test file Adding values to all inputs to avoid warnings. This files generates no warning messages when loaded in MaterialX viewer Also fixing a small typo in the defs file * USD test file This is a USD test file that can be loaded in usdview to test the same materials that the legacy_materials_test.mtlx tests in MaterialX viewer. Open the file in usdview, select the ShaderBall object and in the Meta data panel you can select a variant for each material class. The legacy materials node defs are also updated to remove a stub for namespace that was causing trouble in usdview (but was ok in MaterialX viewer). A typo in the comments was also fixed. * Stubs for OSL and MDL turbulence noise Stubs for implementation of: - turbulence2d_float - turbulence3d_float in OSL and MDL. Currently returning a solid color. This is just to check the build warnings. * Test for matching implementation count Just a test to see if hardcoded expected skip count does influence overall implementation counters and failure to match. Testing for glsl only. * Revert "Test for matching implementation count" This reverts commit 12e011f. * Added test mtlx file for unused nodedefs Tests were failing because the node turbulence2D was defined but never used in any TestSuite file. Adding a other.mtlx as a container for these orphans nodes. Note that for consistency I also added turbulence3d in there, even if not necessary as it's used in the main material test file.
ehlenl
pushed a commit
to ehlenl/MaterialX
that referenced
this issue
Apr 12, 2024
* Initial commit legacy materials This commit includes: - all Legacy (Protein) classes - procedural nodes (checker, noise, turbulence 2d/3d) - utilities (stain, normals combine nodes) For now all nodes are under "adsk_legacy" group, except the turbulence ones that might be ok to be added to the standard lib. Becasue of a bug in the handling of namespaces in the Graph Editor all namespaces are set to "". Bug: AcademySoftwareFoundation#1695 * Test files for legacy material This includes a single MTLX file and a set of textures. The MTLX file can be loaded in MaterialX Viewer and materials selected from the UI * Adding values to test file Adding values to all inputs to avoid warnings. This files generates no warning messages when loaded in MaterialX viewer Also fixing a small typo in the defs file * USD test file This is a USD test file that can be loaded in usdview to test the same materials that the legacy_materials_test.mtlx tests in MaterialX viewer. Open the file in usdview, select the ShaderBall object and in the Meta data panel you can select a variant for each material class. The legacy materials node defs are also updated to remove a stub for namespace that was causing trouble in usdview (but was ok in MaterialX viewer). A typo in the comments was also fixed. * Stubs for OSL and MDL turbulence noise Stubs for implementation of: - turbulence2d_float - turbulence3d_float in OSL and MDL. Currently returning a solid color. This is just to check the build warnings. * Test for matching implementation count Just a test to see if hardcoded expected skip count does influence overall implementation counters and failure to match. Testing for glsl only. * Revert "Test for matching implementation count" This reverts commit 12e011f. * Added test mtlx file for unused nodedefs Tests were failing because the node turbulence2D was defined but never used in any TestSuite file. Adding a other.mtlx as a container for these orphans nodes. Note that for consistency I also added turbulence3d in there, even if not necessary as it's used in the main material test file.
ashwinbhat
pushed a commit
to autodesk-forks/MaterialX
that referenced
this issue
Apr 12, 2024
* Initial commit legacy materials This commit includes: - all Legacy (Protein) classes - procedural nodes (checker, noise, turbulence 2d/3d) - utilities (stain, normals combine nodes) For now all nodes are under "adsk_legacy" group, except the turbulence ones that might be ok to be added to the standard lib. Becasue of a bug in the handling of namespaces in the Graph Editor all namespaces are set to "". Bug: AcademySoftwareFoundation#1695 * Test files for legacy material This includes a single MTLX file and a set of textures. The MTLX file can be loaded in MaterialX Viewer and materials selected from the UI * Adding values to test file Adding values to all inputs to avoid warnings. This files generates no warning messages when loaded in MaterialX viewer Also fixing a small typo in the defs file * USD test file This is a USD test file that can be loaded in usdview to test the same materials that the legacy_materials_test.mtlx tests in MaterialX viewer. Open the file in usdview, select the ShaderBall object and in the Meta data panel you can select a variant for each material class. The legacy materials node defs are also updated to remove a stub for namespace that was causing trouble in usdview (but was ok in MaterialX viewer). A typo in the comments was also fixed. * Stubs for OSL and MDL turbulence noise Stubs for implementation of: - turbulence2d_float - turbulence3d_float in OSL and MDL. Currently returning a solid color. This is just to check the build warnings. * Test for matching implementation count Just a test to see if hardcoded expected skip count does influence overall implementation counters and failure to match. Testing for glsl only. * Revert "Test for matching implementation count" This reverts commit 12e011f. * Added test mtlx file for unused nodedefs Tests were failing because the node turbulence2D was defined but never used in any TestSuite file. Adding a other.mtlx as a container for these orphans nodes. Note that for consistency I also added turbulence3d in there, even if not necessary as it's used in the main material test file.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried in MaterialX 1.38.8.
Steps to reproduce:
1 - Unzip and put the attached nodedefs file in your libraries.
2 - Start materiaX Graph Editor
3 - Press Tab to bring up list of nodes
4 - from the "namespace_debug" group, select "nodedef_without_namespace"
5 - A node is created in the work area (correct)
6 - from the same group now select "test:ND_nodedef_with_namespace"
7 - Node is not created
This is a very simplified test file, but it reproduces what I see with all the nodedefs I have that use namespace.
namespace_debug.zip
Please check also the video below. The video highlights 2 issues, see the last part where this problem is shown.
MaterialXGraphEditor_namespace_debug-1.mp4
The text was updated successfully, but these errors were encountered: