Autodesk / maya-usd

A common USD (Universal Scene Description) plugin for Autodesk Maya
777 stars 201 forks source link

Display Color Export Issue #3973

Closed Ziethriel closed 1 month ago

Ziethriel commented 1 month ago

Description When exporting a USD file with vertex colors for displayColor, the exported colors are significantly darker then the values set in Maya.

Steps to Reproduce Steps to reproduce the behavior:

  1. Create new scene
  2. Create mesh plane in a group
  3. Assign vertex color HSV (360, 1, 0.5) RGB (0.5, 0, 0)
  4. Name Color Set "displayColor"
  5. Export ASCII USD file with Display Colors option checked
  6. Open USD file in desired text editor
  7. Notice the display color that was written is (0.21763764, 0, 0) instead of expected (0.5, 0, 0)

Expected Behavior I expect exported displayColors in the exported file to match the value applied in Maya

Specs

Ziethriel commented 1 month ago

Disregard, after closer evaluation this linear sRGB to sRGB is expected, Substance painter isn't applying the color transform back when baking vertex colors. I will open the issue with them.