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

Fix normal direction #25

Open
Steditor opened this issue Apr 20, 2015 · 0 comments
Open

Fix normal direction #25

Steditor opened this issue Apr 20, 2015 · 0 comments

Comments

@Steditor
Copy link
Contributor

From @Steditor on December 1, 2014 13:13

Triangles that specify their vertices in the wrong order will have inverted normals after import.

  • We could fix single normals by comparing the vertex order of two adjacent triangles (the vertices should be in reversed order)
  • We could implement a robust correction with this algorithm: http://stackoverflow.com/a/761126

Copied from original issue: ad-si/brickify#34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants