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

ToMayaMeshConverter: Revert "ToMayaMeshConverter : No longer set normals" #1430

Merged

Conversation

chrisc-lee
Copy link
Contributor

@chrisc-lee chrisc-lee commented Aug 29, 2024

This reverts #1386 since not setting the normals is causing more problems than it solves. I have also added a small change to the gitignore to ignore all sconsdblite files.

Related Issues

  • This solves an issue introduced by ToMayaMeshConverter : No longer set normals #1386 where by not setting the normals explicitly, Maya may recompute the normals incorrectly for hard surface models as a result of computing normals as Vertex normals instead of Face normals

Checklist

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have tested my change(s) in the test suite, and added new test cases where necessary.
  • My code follows the Cortex project's prevailing coding style and conventions.

@chrisc-lee chrisc-lee force-pushed the revertNotSetNormalsForMesh branch 5 times, most recently from d15b7d7 to a510744 Compare August 29, 2024 23:33
…rmals"

Reverts changes to no longer set normals when reading from a Cortex
object to Maya mesh since by not reading the normals, we don't take
into account the difference between face and vertex normals meaning
Maya may not recompute the normals as expected. Also, SCCs
published from outside Maya are also likely to be read into Maya with
different than expected normals.
@ivanimanishi ivanimanishi merged commit 341b3de into ImageEngine:RB-10.5 Aug 30, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants