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

MAYA-105389 - Displacement export #844

Merged
merged 2 commits into from
Oct 24, 2020

Conversation

JGamache-autodesk
Copy link
Collaborator

Add registry-based exporter for the displacementShader found in Maya displacement workflows. Outputs to the UsdPreviewSurface that got created when the surface shader was exported.

Add registry-based exporter for the displacementShader found in Maya displacement workflows. Outputs to the UsdPreviewSurface that got created when the surface shader was exported.
Copy link
Contributor

@mattyjams mattyjams left a comment

Choose a reason for hiding this comment

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

This mostly looks good to me, but I think we should drop the requirement that the exported Material have a UsdPreviewSurface shader connected to its surface terminal. I can kind of see the desire to try to collapse the surfaceShader and displacementShader connections in Maya onto a single UsdPreviewSurface Shader in USD, but I don't think that's necessary. I think it'll only make it tougher when we want to support non-UsdPreviewSurface shading networks with displacement.

Copy link
Contributor

@mattyjams mattyjams left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good to me!

@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Oct 23, 2020
@kxl-adsk kxl-adsk merged commit 505d4f5 into dev Oct 24, 2020
@kxl-adsk kxl-adsk deleted the t_gamaj/MAYA-105389/displacement_export branch October 24, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-export Related to Import and/or Export 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.

4 participants