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.
As I dive in, this is coming back to me now. The reason I wasn't using clip_id for the stencil was because the idea is satellite is under the vector features, and so needs to write in all the places where vector features haven't been drawn yet, or where they have been drawn if they and/or the rasters have translucency, but this cross tiles by definition. That is, we need a stencil function that thinks beyond just the current tile's clip_id.
My thinking with the value of 1 instead of clip_id was that the matrix has been set already for the tile, so the stencil buffer won't get written to outside of the tile border anyway. The artifact I saw before was likely related to overlapping tiles as a result of this.
It seems like we're also loading way too many tiles. E.g. in this view:
we have 80 raster tiles loaded, even though you just see 64. It looks like we load all raster child tiles of a given vector tile that is displayed, i.e. the right most tile only shows 4 tiles, but we load/try to render all 16 raster tiles.
Activity
incanus commentedon Apr 22, 2014
Possibly related:
f859945
I recall something weird with
clip_idand painting raster tiles, which also manifested (manifests?) as a tile border rendering artifact.cleanup + unused arguments
incanus commentedon Apr 22, 2014
Yeah, this is definitely related to f859945. I need to figure out how to do that the right way.
incanus commentedon Apr 23, 2014
As I dive in, this is coming back to me now. The reason I wasn't using
clip_idfor the stencil was because the idea is satellite is under the vector features, and so needs to write in all the places where vector features haven't been drawn yet, or where they have been drawn if they and/or the rasters have translucency, but this cross tiles by definition. That is, we need a stencil function that thinks beyond just the current tile'sclip_id.My thinking with the value of
1instead ofclip_idwas that the matrix has been set already for the tile, so the stencil buffer won't get written to outside of the tile border anyway. The artifact I saw before was likely related to overlapping tiles as a result of this.incanus commentedon May 7, 2014
This will be fixed soon by https://github.com/mapbox/llmr-native/tree/clip-ids.
kkaefer commentedon May 8, 2014
It seems like we're also loading way too many tiles. E.g. in this view:
we have 80 raster tiles loaded, even though you just see 64. It looks like we load all raster child tiles of a given vector tile that is displayed, i.e. the right most tile only shows 4 tiles, but we load/try to render all 16 raster tiles.