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

Polygons render issues #31

Closed
mistic100 opened this issue Mar 23, 2016 · 1 comment
Closed

Polygons render issues #31

mistic100 opened this issue Mar 23, 2016 · 1 comment
Labels
Milestone

Comments

@mistic100
Copy link
Owner

  • polygons on ceil or floor (covering the pole) are almost never rendered correctly
  • big polygons near equator have render issue when on the edge
@mistic100 mistic100 added the bug label Mar 23, 2016
@mistic100 mistic100 added this to the 3.2.0 milestone Mar 23, 2016
@mistic100
Copy link
Owner Author

mistic100 commented Mar 30, 2016

It's the same problem : points behind the camera cannot be positionned correctly, thus the polygon is deformed.

A solution I came to is to compute the intersections of the polygon and the camera render limit to create new points that are not behind the camera.

Simplified math problem asked here http://math.stackexchange.com/questions/1720450/arc-intersection-on-a-sphere

@mistic100 mistic100 modified the milestones: 3.2.1, 3.2.0 Apr 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant