Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Label legibility improvements: pitch-scaling and pitched line-following (bitrise workaround) #9467

Closed
wants to merge 15 commits into from

Conversation

ansis
Copy link
Contributor

@ansis ansis commented Jul 10, 2017

This is a new pr for #9009 to work around bitrise reporting failures.

@ChrisLoer

ChrisLoer and others added 14 commits July 10, 2017 13:09
Necessary because collision boxes now change shape based on while tile they're part of.
…els.

Viewport-aligned curved labels start to look very strange in the distance. Until we have a better system for projecting them, just prevent them from showing.
This prevents TilePyramid from sharing wrapped copies of tiles.
This is necessary because two wrapped tiles no longer share the same CollisionTile.
It used to overwrite values in the middle of the calculation which would
cause problems when `out` and `a` were a reference to the same vector.
port mapbox/mapbox-gl-js#4781

This improves legibility of labels that follow lines in pitched views.
The previous approach used the limited information in the shader to
calculate put the glyph in approximatelyright place. The new approach
does this more accurately by doing it on the cpu where we have access to
the entire line geometry.
and rename BufferUsageType to BufferUsage
@ansis ansis requested a review from ChrisLoer July 10, 2017 20:16
@ansis ansis force-pushed the cloer_text_pitch_scaling_2 branch from 6017893 to 7e7aaa1 Compare July 10, 2017 20:33
@ansis ansis closed this Jul 10, 2017
@jfirebaugh jfirebaugh deleted the cloer_text_pitch_scaling_2 branch July 11, 2017 17:50
@kkaefer kkaefer added the Core The cross-platform C++ core, aka mbgl label Jul 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants