-
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
Change subsurface_bsdf radius from vector3 to color3 #1834
Change subsurface_bsdf radius from vector3 to color3 #1834
Conversation
@pablode We've now merged development work on MaterialX 1.39 back to the |
Not sure why the CI is not running -- it should still fail. @jstone-lucasfilm @kwokcb any idea what's wrong with the implementation? PS: I noticed that |
Thanks for updating the branch to For the version strings in the standard libraries, we usually leave these unmodified (i.e. at 1.38) until we're nearly ready to mark a new release, so that we get the maximum amount of testing for the upgrade path. For that reason, I'd recommend leaving all of the version strings in your PR at 1.38, and letting the document upgrade path handle any changes that need to occur. Let me know if you need an assist in resolving the remaining build issues for your PR, and I'd be happy to take a closer look. |
Thanks, I’ll revert the version string change in the test case then. I’d appreciate it if you could have a look at the failures. I’ve already verified the upgrade logic, and it looks like all documents (including the Standard Surface node graph) are correctly upgraded. |
- Update subsurface_bsdf nodes in shading models that have already been migrated to 1.39. - Restore test suite examples to 1.38. - Additional work is still needed to correctly handle subsurface_bsdf nodes in shader translation.
- Add support for interface connections. - Add support for nested documents.
Awesome! Thank you for catching these two cases in the upgrade logic 🙂 |
Thanks for putting this change together, @pablode, and it should help to bring the specification and codebase into alignment for MaterialX 1.39. I'm CC'ing @niklasharrysson and @portsmouth for their thoughts, to make sure the proposed change from |
I'm not sure about this type change.. Looking at the 1.39 spec it's indeed a color3 now, and in the Standard Surface spec it's also a color3. However in the OpenPBR spec it's a vector3. @portsmouth is it correct to assume that a vector3 type is what you prefer for the subsurface radius / mfp parameter? |
@niklasharrysson @pablode This relates to the topic of physical versus perceptual colors in MaterialX, and I think it's a deep enough subject that it's worthwhile to discuss more broadly, so I've started a new thread on the MaterialX Slack: https://academysoftwarefdn.slack.com/archives/C0230LWBE2X/p1719188320479269 |
42fe8c3
to
e7b977e
Compare
@niklasharrysson @pablode Summing up the MaterialX Slack thread, it sounds like representing physical colors as Given that additional context, I'm leaning towards including Pablo's change in MaterialX 1.39, and I'd be interested in your thoughts! |
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.
Let's move forward with this change for MaterialX 1.39, since it aligns with our latest discussions around physical color representation. Thanks @pablode!
47c68d9
into
AcademySoftwareFoundation:main
This was changed in the 1.39 spec, but is not reflected in the code yet.