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

UV's missing when exporting to USD #1202

Closed
swamiforlife opened this issue Feb 22, 2021 · 7 comments
Closed

UV's missing when exporting to USD #1202

swamiforlife opened this issue Feb 22, 2021 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@swamiforlife
Copy link

When i export some geometry to USD the UV's are missing.
Is this feature yet to be implemented? or is it a bug?

@swamiforlife swamiforlife added the bug Something isn't working label Feb 22, 2021
@eoffermann
Copy link

Obvious question perhaps but did you set the "exportUVs" tag (if you're doing it in python/mel) or make sure the box is checked next to "UV Sets" in the export dialog?

In general, we get UVs when we export to USD. There are some gotchas in some situations (mostly around multiple UV sets) that you may find yourself needing to be aware of but otherwise, your UVs should be there.

@swamiforlife
Copy link
Author

Sorry, i didn't word the issue correctly.
When I export a USD file it has the UV data inside it but when I import the USD file into Houdini or Katana the UV's will not show.
If I export a USD file from Houdini the UV's will correctly show in Katana.
So it seems to be how UV export is implemented in the Maya USD plugin that is causing this issue.

Below is a link to a video showing the problem
https://youtu.be/oAcjVxudQFM

@kxl-adsk
Copy link

I wonder if it's related to #876. Did you try using MAYAUSD_EXPORT_MAP1_AS_PRIMARY_UV_SET and MAYAUSD_IMPORT_PRIMARY_UV_SET_AS_MAP1 to bring back the renaming behavior we had before?

@WallmanMark
Copy link

Hi. As kxl said. By changing the settings as above I can now get UV's in other apps. Best Mark

@kxl-adsk
Copy link

@swamiforlife did you have a chance to try it? If env variables solved your problem, I suggest we close this issue.

@swamiforlife
Copy link
Author

@kxl-adsk yes it is working now with the env variables. So, you can close this issue.
Also in future releases will this env variable option exist or are there any plans for changing it?

@kxl-adsk
Copy link

It's too early to make any plans for removing it. Other USD consumers (importers, renderers) will have to follow and stop using hardcoded "st" name for UV.

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

5 participants