Skip to content
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

EMSUSD-1975 - Optimize material libraries #4055

Merged

Conversation

JGamache-autodesk
Copy link
Collaborator

Allow deep library optimization ff a user introduces a material library that has nodes implemented via NodeGraph that embed optimizable nodes.

Also fixed issues encountered while dealing with MaterialX namespaces.

Allow deep library optimization ff a user introduces a material library that has nodes implemented via
NodeGraph that embed optimizable nodes.

Also fixed issues encountered while dealing with MaterialX namespaces.
Copy link
Collaborator

@frohnej-adsk frohnej-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! I added some thoughts on improving readability, but I'm not sure if all of it is possible or makes sense.

lib/mayaUsd/render/MaterialXGenOgsXml/LobePruner.h Outdated Show resolved Hide resolved
lib/mayaUsd/render/MaterialXGenOgsXml/LobePruner.cpp Outdated Show resolved Hide resolved
lib/mayaUsd/render/MaterialXGenOgsXml/LobePruner.cpp Outdated Show resolved Hide resolved
lib/mayaUsd/render/MaterialXGenOgsXml/LobePruner.cpp Outdated Show resolved Hide resolved
frohnej-adsk
frohnej-adsk previously approved these changes Dec 20, 2024
@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Jan 6, 2025
@JGamache-autodesk
Copy link
Collaborator Author

@seando-adsk ready for merge.

@seando-adsk seando-adsk merged commit 42a472a into dev Jan 6, 2025
11 checks passed
@seando-adsk seando-adsk deleted the gamaj/EMSUSD-1975/allow_optimizing_inside_shader_libraries branch January 6, 2025 17:26
JGamache-autodesk added a commit that referenced this pull request Jan 6, 2025
Recent changes from #4055 makes me believe the issues I had previously
with MaterialX 1.38.5 are now fixed. Re-enabling lobe pruning across all
MaterialX versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
materials ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants