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

Additional improvements to MaterialX Lama nodes #1955

Merged

Conversation

mkuo-lucasfilm
Copy link
Contributor

@mkuo-lucasfilm mkuo-lucasfilm commented Jul 30, 2024

  • Updated LamaGeneralizedSchlick implementation (changed the transmission component from a dielectric BSDF to a generalized schlick BSDF, adjusted implementation of reflectionTint)
  • Updated LamaSSS and LamaTranslucent (removed LobeName and matte inputs as they are renderer-specific)
  • Updated default values and help documentation of MaterialX Lama nodes to be consistent with Renderman Lama nodes.

Updating Lama Nodes to be consistent with the default values and help documentation of RenderMan nodes
@mkuo-lucasfilm mkuo-lucasfilm changed the title Updating default values and help documentation of MaterialX Lama nodes Additional improvements to MaterialX Lama nodes Jul 30, 2024
Removing LobeName and matte inputs from LamaSSS and LamaTranslucent, as they are renderer-specific
Removing sssID input, as its documented functionality is closely related to the renderer-specific concept of lobe names
Copy link

@ahostettler ahostettler left a comment

Choose a reason for hiding this comment

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

Thank you @mkuo-lucasfilm for updating the Lama definitions. There are still some smaller discrepancies that would be good to address, otherwise it looks good.

libraries/bxdf/lama/lama_generalized_schlick.mtlx Outdated Show resolved Hide resolved
libraries/bxdf/lama/lama_generalized_schlick.mtlx Outdated Show resolved Hide resolved
libraries/bxdf/lama/lama_generalized_schlick.mtlx Outdated Show resolved Hide resolved
libraries/bxdf/lama/lama_generalized_schlick.mtlx Outdated Show resolved Hide resolved
libraries/bxdf/lama/lama_generalized_schlick.mtlx Outdated Show resolved Hide resolved
1. Switched order of Fresnel mode switch
2. Fixed default values for Lama test documents
3. LamaGeneralizedSchlick - implementation of transmission component, roughness calculation
4. LamaIridescence - reintroduced anisotropy direction and rotation
@mkuo-lucasfilm
Copy link
Contributor Author

LamaGeneralizedSchlick Renders with default transmissionTint, cyan transmissionTint, and red TransmissionTint
generalized_schlick_default
generalized_schlick_cyan
generalized_schlick_red

Copy link

@ahostettler ahostettler left a comment

Choose a reason for hiding this comment

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

Thank you @mkuo-lucasfilm. There is still one small issue, otherwise it looks good.

libraries/bxdf/lama/lama_generalized_schlick.mtlx Outdated Show resolved Hide resolved
Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

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

Great work, thanks @mkuo-lucasfilm!

@jstone-lucasfilm jstone-lucasfilm merged commit 67702da into AcademySoftwareFoundation:main Aug 7, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants