You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
In the second frame you can see that the newly loaded top-right tile is being drawn outside its area, not inside (the yellow part). The edges around the yellow area have the higher-resolution new data from the new tile's padding. The same can be seen for the other tiles when they are first loaded.
@kkaefer much better now. No "yellow" flicker noticed. Although it seems to me that tiles are sometimes removed when not expected on zoom-out, causing some mild flickering.
@mourner This is because the max_covering_zoom is set to 1 currently, meaning that it'll discard tiles if they're 1 zoom level too small. This is to avoid drawing too many overly detailed tiles. We should come up with other strategies to deal with that, e.g. LOD geometries or prerendered tile textures for very small zoom levels.
The second problem is, sometimes when zooming it ends up missing a layer. This screenshot is a couple seconds after everything is done, not in the middle of everything loading. All the tiles are loaded and if you pan it fixes itself instantly.
Activity
ansis commentedon May 21, 2014
I think this may be a clipping issue.
Here's what the flickering looks like in five frames:
0000001
0000002
0000003
0000004
0000005
In the second frame you can see that the newly loaded top-right tile is being drawn outside its area, not inside (the yellow part). The edges around the yellow area have the higher-resolution new data from the new tile's padding. The same can be seen for the other tiles when they are first loaded.
#222 also points to clipping problems
kkaefer commentedon May 21, 2014
Yeah, looks like it. Frame by frame analysis sounds pretty useful!
kkaefer commentedon May 27, 2014
It looks like there's something up with the clip IDs when zooming out. In particular, I captured this screenshot mid-transition:
fixed subtle clip id generation bug
add test for #206
kkaefer commentedon May 27, 2014
This should be fixed. @ansis can you verify that these are gone?
mourner commentedon May 27, 2014
@kkaefer much better now. No "yellow" flicker noticed. Although it seems to me that tiles are sometimes removed when not expected on zoom-out, causing some mild flickering.
kkaefer commentedon May 27, 2014
@mourner This is because the max_covering_zoom is set to 1 currently, meaning that it'll discard tiles if they're 1 zoom level too small. This is to avoid drawing too many overly detailed tiles. We should come up with other strategies to deal with that, e.g. LOD geometries or prerendered tile textures for very small zoom levels.
ansis commentedon May 30, 2014
@kkaefer much better. I never see the background, but I'm still seeing a couple problems.
It double draws some areas when loading new tiles. For example, hillshades flash darker when a parent tile isn't clipped to avoid its child. See #222.
parent 00000061
parent and child 00000070
child 00000072
The second problem is, sometimes when zooming it ends up missing a layer. This screenshot is a couple seconds after everything is done, not in the middle of everything loading. All the tiles are loaded and if you pan it fixes itself instantly.

kkaefer commentedon May 31, 2014
@ansis Young reported the second bug too, but I've never seen it myself on OS X/iOS.
compute unique clip ids per tile, taking covering children into account