gwaldron / osgearth

3D Maps for OpenSceneGraph / C++14
https://www.pelicanmapping.com/home-1/opensource
Other
1.51k stars 779 forks source link

Crash at poles #809

Closed jasonbeverage closed 8 years ago

jasonbeverage commented 8 years ago

osgearth will continuously subdivide and crash if you use rex (or mp with a high min_lod set) and zoom into the poles. It will continue to subdivide and eventually run out of memory.

Run osgearth_viewer readymap-rex and go zoom into the north pole to reproduce.

jasonbeverage commented 8 years ago

Maybe we limit how far down osgearth can subdivide based on latitude.

gwaldron commented 8 years ago

Fixed by changing the adaptive polar algorithm to adjust the perceived tile radius based on latitude