-
Notifications
You must be signed in to change notification settings - Fork 202
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
MAYA-109893 Integrate 21.05 UsdPreviewSurface shader into mayaUsd plugin #1416
MAYA-109893 Integrate 21.05 UsdPreviewSurface shader into mayaUsd plugin #1416
Conversation
JGamache-autodesk
commented
May 14, 2021
- Leverages recent code in Maya that simplifies Light integration.
- Original shading fragment still present for older versions of Maya.
- Leverages recent code in Maya that simplifies Light integration. - Original shading fragment still present for older versions of Maya.
Brings the Helmet discussed in PixarAnimationStudios/OpenUSD#1174 closer to Pixar's usdView version. |
Still missing: Normal maps, as is plainly visible on the air intake tubes. |
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.
To what extent should I be reviewing usdPreviewSurfaceNGLighting.xml? There is a lot of code there which looks reasonable at first glance, but I didn't try to delve too deeply into it.
The rest of the files are all fine.
I did some comparisons between the Pixar glslfx file USD/pxr/usdImaging/plugin/usdShaders/shaders/previewSurface.glslfx and the Maya version usdPriviewSurfaceNGLighting.xml and they seem aligned with one another. |
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.
@JGamache-autodesk I see you updated testMetallicResponse.png
baseline. I would assume this baseline will be different depending on the Maya version?
@kxl-adsk The result will be different based on the Maya version. I will add a check otherwise the preflight will not work. |
…e_external_light_functions
cmake/modules/FindMaya.cmake
Outdated
@@ -301,13 +301,16 @@ find_program(MAYA_PY_EXECUTABLE | |||
set(MAYA_LIGHTAPI_VERSION 1) | |||
if(IS_MACOSX) | |||
set(MAYA_DSO_SUFFIX ".dylib") | |||
sef(MAYA_DSO_PREFIX "lib") |
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.
Typo? sef
-> set