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

USD displayColors displayed inconsistency in viewport 2.0 #4062

Open
tom-wi-souza opened this issue Jan 6, 2025 · 3 comments
Open

USD displayColors displayed inconsistency in viewport 2.0 #4062

tom-wi-souza opened this issue Jan 6, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@tom-wi-souza
Copy link

Hi,

When exporting USD data with the display Colors flag enabled, the colors aren't displayed the same (too bright).

Steps to reproduce
Steps to reproduce the behavior:

  1. As maya Data assign material and modify the diffuse color to what you want.
  2. File->Export USD -> enable display Color Flag
  3. Create stage and load exported USD file.

Expected behavior
Correctly displayed colors.

Attachments
image

It seems the colors itself are storred correctly (viewed as flat).

image

As viewed in Houdini seems correct.
image

usdDisplayColors.zip

If applicable, add screenshots, sample files, etc to help explain your problem.

Specs (if applicable):

  • Windows 11
  • Maya version. Maya 2025.3
  • Maya USD 0.30.0

Thanks for help.

  • Tom
@tom-wi-souza tom-wi-souza added the bug Something isn't working label Jan 6, 2025
@tom-wi-souza tom-wi-souza changed the title USD displayColors displayed inconsitancy in viewport 2.0 USD displayColors displayed inconsistency in viewport 2.0 Jan 6, 2025
@santosg87 santosg87 assigned santosd and unassigned santosg87 Jan 14, 2025
@santosd
Copy link
Collaborator

santosd commented Jan 15, 2025

Hi @tom-wi-souza, Thank you for reporting this and this is definitely an issue we had come across. Using your files in our latest upcoming release, I am able to create a USD stage from your USD stage and open your Maya file and they look the same. However, if I attempt to import your USD stage and convert it to Maya data that is when I get some washed out colors. Attached you can see what I am seeing on my end. On the far left, I created a stage from your USD Display Colors USD file in the middle that is the Maya data from the original scene and on the far right that is the imported USD data. I Think on conversion something is happening, I may need to play with the settings to see if I can get it to work better.

However on my end the USD stage data and the Maya data look correct. We did recently make some changes so you may need to build the latest or wait for our next release to see the fix on your end.
image

@santosd
Copy link
Collaborator

santosd commented Jan 15, 2025

If on import I convert to USD Preview Surface then it works as expected for the Display Color.
Far left is imported with a conversion to USD preview surface:
image

@tom-wi-souza
Copy link
Author

Thanks, for having a look.

We're planning on viewing the USD data directly (no maya conversion ) for sets/assets. ( so the upcoming release should be ok)
I assume when loading maya files as usd reference ( for character rigs ) the conversion to Maya still hapens which means the colors will be washed out.

We'll test it again when the new release is available.

Best,

  • Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants