maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

USD displayColors displayed inconsistency in viewport 2.0

Open tom-wi-souza opened this issue 1 year ago • 3 comments

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 avatar Jan 06 '25 11:01 tom-wi-souza

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 avatar Jan 15 '25 22:01 santosd

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

santosd avatar Jan 15 '25 22:01 santosd

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

tom-wi-souza avatar Jan 22 '25 12:01 tom-wi-souza