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

Remove invalid triangles from north and south pole of EllipsoidGeometry #3645

Merged
merged 1 commit into from
Mar 1, 2016

Conversation

hpinkos
Copy link
Contributor

@hpinkos hpinkos commented Feb 29, 2016

Fixes #3045
There wasn't actually a hole in the ellipsoid; the shading for the top slice (and bottom slice, I presume) was off because the normal vector had NaNs due to adjacent triangles with no area.

So this PR removes a bunch of triangles being added with two corners at the same position.
The top and bottom of the ellipsoid needed to be triangulated with a fan instead of a strip.

@mramato
Copy link
Contributor

mramato commented Feb 29, 2016

👍 from me. I also checked out some different materials as well and everything is working as expected and a big improvement over master. Does anyone else want to review this? If not I'll merge later tonight.

mramato added a commit that referenced this pull request Mar 1, 2016
Remove invalid triangles from north and south pole of EllipsoidGeometry
@mramato mramato merged commit d672e30 into master Mar 1, 2016
@mramato mramato deleted the holeInEllipsoid branch March 1, 2016 15:30
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