Announcement

Collapse
No announcement yet.

USDPreviewSurface Roughness Rendering in Maya

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • USDPreviewSurface Roughness Rendering in Maya

    USDPreviewSurface roughness properly is resorting to fall back value when using a texture input.

    Steps to Reproduce (images below):

    New Maya Scene

    Create 3 Spheres

    Assign Each Sphere a USDPreviewSurface

    Set Metallic Value to 1 for each Material

    Assign File textures with varying darknesses for roughness (doesn't seem to matter if what channel is used), set color mode to Raw

    Group Spheres Under Transform Node

    Export as USD with materials set to USDPreviewSurface

    New Maya Scene

    Create Stage from File

    Create VRAY Dome Light

    Observe correct roughness in the viewport

    Render & Observe that all spheres have the same roughness

    -----------------------------------------------------------------

    Using Maya 2024.1, Maya USD 0.25, VRAY Nightly Version 61002 from Nov 8 2023

    Please help! I urgently need a solution to deliver a product.

    Click image for larger version

Name:	image.png
Views:	222
Size:	481.8 KB
ID:	1194853
    Created Textureset With Only Difference Being Roughness (0,0.5,1)
    Click image for larger version

Name:	image.png
Views:	129
Size:	601.6 KB
ID:	1194854
    Assigned files to USDPreviewSurface as normal
    Click image for larger version

Name:	image.png
Views:	134
Size:	50.2 KB
ID:	1194855
    ​Exported USD File
    Click image for larger version

Name:	image.png
Views:	170
Size:	4.82 MB
ID:	1194856
    Assigned USD Reference in Working File
    Click image for larger version

Name:	image.png
Views:	165
Size:	4.41 MB
ID:	1194857
    ​Error Occurs with CPU & GPU Renderers

  • #2
    Unbelievable, despite trying to solve this for days, hours after I post this, I finally found the issue. This is still definitely an issue since the viewport shows these properties properly assigned and the renderer is the one having the issue, also what was causing the issue was not having the same effect in Arnold.

    The issue tripping up VRAY was the "Mask Map" which has Metallic in the Red Channel and Occlusion in the Green (normally used in Unity, the reason I was trying this was to prevent having to export a different texture set for Unity). When this map is removed the roughness was read correctly. I can only assume that VRAY is having issues resolving a map with two separate outputs???

    Please fix this, I have a lot of content already set up like this, thinking VRAY would interpret USDPreviewSurface the same way as Arnold (was having to use it temporarily as our purchasing department sucks).

    Comment


    • #3
      According to this page, USD 0.25 is not yet supported. Could you try reverting back to 0.24 and see if the issue occurs? I tested with an older version 0.16.0 and had no issues with channel-packed maps.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        USD 0.25 It is supported on the Maya nightlies, so give it a shot and see if it works

        Comment


        • #5
          This was using VRAY Nightly Version 61002 from Nov 8 2023. There's a new version in the nightlies, but it has no relevant changes.

          Comment


          • #6
            Tested with Maya 2024, stable nightly 61002, USD 0.25 and still no issues. Check the attached scene. Do attach yours so we can troubleshoot.
            Attached Files
            Aleksandar Hadzhiev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              It appears the issue has been fixed. Looking at the release notes VMAYA-12374 might have been the root of the issue.

              Click image for larger version

Name:	image.png
Views:	43
Size:	26.7 KB
ID:	1200727

              Comment

              Working...
              X