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 USD exporter] Negative values converted to NaNs #539

Closed
sourimantg opened this issue Jun 22, 2018 · 2 comments
Closed

[Maya USD exporter] Negative values converted to NaNs #539

sourimantg opened this issue Jun 22, 2018 · 2 comments

Comments

@sourimantg
Copy link

Description of Issue

When exporting (from Maya) objects that have a PxrSurface shader attached, with a Physical definition of a specular lobe, potential negative values (in the extinction coefficient for instance) are exported as NaNs in the target usd file.

Context: I was trying to make PxrSurface definitions match an existing Mitsuba scene, where in some rare occasions the extinction goes to very small negative values, which should be possible to handle.

Steps to Reproduce

  1. Open Maya (2017 in my case)
  2. Create a simple geometry and attach a PxrSurface shader to it
  3. In the Primary Specular section, set the Specular Fresnel Mode to Physical
  4. Modify the red component of the extinction coefficient to a negative value (e.g. -0.1) in RGB [0,1] mode
  5. Export to USD

System Information (OS, Hardware)

Windows 7

Package Versions

0.8.5a

Build Flags

@jtran56
Copy link

jtran56 commented Jun 25, 2018

Filed as internal issue #162206.

@sunyab
Copy link
Contributor

sunyab commented Feb 4, 2023

Closing this out since this is related to the old Maya plugin which has migrated to https://github.com/Autodesk/maya-usd and no longer ships with USD.

@sunyab sunyab closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2023
AdamFelt pushed a commit to autodesk-forks/USD that referenced this issue Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants