-
Notifications
You must be signed in to change notification settings - Fork 202
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
Fix default export logic if subdivScheme is none #2713
Conversation
Skip authoring normals by default when exporting a mesh with its subdivSceme set to NONE. Require the emitNormals tag to be set to TRUE for normals to be written for these meshes.
@dj-mcg The preflight failed. Can you have a look. |
The mesh render test failed due to "px_render" plugin not being found. I had the same error yesterday. Re-running the PF fixed it. I wonder if some PF computer are setup wrong? |
Ah - I think this dependency snuck into the test maya file. I'll fix it up and kick off another preflight |
Oops, I guess I'll need to use Maya 2020 (or Maya 2019?) to update the test file... Or maybe I can just hand edit the .ma? |
Hi I'm curious why this change was necessary? The PR doesn't provide reasoning and I think the logic is incorrect. This is breaking our exports as a result because we suddenly don't have normals as of this PR. |
You can still emit normals for the |
I think this is a breaking change though and a silent one at that. I acknowledge that y'all documented this years ago but the behaviour did not match the docs however the docs don't match expectation. You'd suddenly be causing people's scenes to be exporting without normals as ours suddenly did when we pulled from top of tree. It would require everyone to go back and modify all their scenes to conform to a doc spec that wasn't implemented properly. I also don't understand what workflows this would benefit? It's unusual that someone would want to be opting in to normals vs opting out. I can understand if the case was that the tag opted people out of them, but the default should be to export normals without users having to do anything. So I posit that the fix should be:
This is IMHO the only way to both conform to that document and not break existing files for export. This was the behaviour prior to this change, which is why I would request that this change be reverted, or you'll be causing lots of breakages in assets going forward. |
I made a PR here to resolve this #2768 |
This had been considered a bug internally at Pixar for a long time - we almost never want normals to be authored by Maya since the downstream applications don't update them with for animated/deformed/simmed geom. Apologies for the breakage on your end when this got pushed back up - I'm fine with going back to the old behavior for the open source code and dealing with it internally |
Ah that makes sense why you'd want it off then. |
Yeah for now we'll just patch in our current behavior and I'll figure out what to do to handle this long term. But you're right - it was presumptive of me to drop internally requested behavior changes on the wider community here, so I think preserving the behavior that was inadvertently established is probably the right way forward. |
Skip authoring normals by default when exporting a mesh with its subdivSceme set to NONE. Require the emitNormals tag to be set to TRUE for normals to be written for these meshes.