Skip to content

Conversation

@WestLangley
Copy link
Collaborator

Degenerate triangles and/or degenerate uvs can result in NaN or Infinite intermediary calculations in the computeTangents() method.

This PR sidesteps that issue by ignoring those triangles.

The helpers example is also modified to compute tangents on a problematic model (Lee Perry Smith).

@WestLangley WestLangley added this to the r112 milestone Dec 8, 2019
@mrdoob mrdoob merged commit 26dc9ee into mrdoob:dev Dec 8, 2019
@mrdoob
Copy link
Owner

mrdoob commented Dec 8, 2019

Thanks!

@WestLangley WestLangley deleted the dev_compute_tangents branch December 9, 2019 01:07
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