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

Katana crash loading USD with material facesets #235

Closed
pmolodo opened this issue Jul 6, 2017 · 6 comments
Closed

Katana crash loading USD with material facesets #235

pmolodo opened this issue Jul 6, 2017 · 6 comments

Comments

@pmolodo
Copy link
Contributor

pmolodo commented Jul 6, 2017

Description of Issue

If you export to USD a maya mesh that has two different component groups, both assigned to the same material, then when you try to import that USD into katana, katana will crash

Steps to Reproduce

  1. Unzip the attached file somewhere
  2. Open cube_material_faceSets_crash.ma in maya
  3. Export it to usd
  4. In katana, create a pxrUsdIn, and point it at the created usd
  5. Set your view node to your pxrUsdIn node, then expand the scene hierarchy until you can see the children of the cube node - it should crash

System Information (OS, Hardware)

Linux

Package Versions

usd-0.7.6

cube_material_faceSets_crash.zip

@spiffmon
Copy link
Member

spiffmon commented Jul 6, 2017 via email

@chadrik
Copy link
Contributor

chadrik commented Jul 6, 2017 via email

@pmolodo
Copy link
Contributor Author

pmolodo commented Jul 6, 2017

I think this might just be a bug in the maya exporter, rather than a flaw in the design (at least as far as Maya material assignment is concerned). ie, at an attribute level, Maya will happily let you assign two different component groups from the same shape to the same shading group... but I believe functionally it's equivalent to just having all the faces in one group. So just changing the exporter to check for this case, and then combine the face sets, should be good.

@spiffmon
Copy link
Member

spiffmon commented Jul 6, 2017 via email

@jtran56
Copy link

jtran56 commented Jul 6, 2017

Filed as internal issue #148363.

@sunyab
Copy link
Contributor

sunyab commented Aug 12, 2022

Cleaning up old issues, the Katana and Maya plugins have long been retired from the distribution.

@sunyab sunyab closed this as completed Aug 12, 2022
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

5 participants