Johannes Hofmann
7d5997991a
Improve tile rendering in orthografic view
* Reach feature parity with mercator view:
* Resize tile atlas to reduce draw calls
* Fill in tiles from other zoom layers
преди 7 години
Johannes Hofmann
d92bde5ac4
Add trait tile_atlas::VisibleTilesProvider
This enables the implementation of TileAtlas::textured_visible_tiles for
different kinds of visible tiles, e.g. for different layers.
преди 7 години
Johannes Hofmann
cf7f21acc3
Restructure modules
* Split up map_view module into
* map_view
* mercator_view
* orthografic_view
преди 7 години
Johannes Hofmann
7034b667a9
Fix seams between globe tiles
преди 7 години
Johannes Hofmann
d7a9681521
Render the map as a sphere
A work in progress...
преди 7 години
Johannes Hofmann
c430500e69
Support drawing markers
преди 7 години
Johannes Hofmann
38d1cf35e5
Restructure OpenGL context sharing
Program, Buffer, Texture... structs no longer store a reference to a
Context. Now it has to be passed explicitly to all methods that mutate
the OpenGL state. This enables caching the state and removing redundant
calls to gl* functions.
преди 7 години
Johannes Hofmann
fcbad65155
Fix clippy warnings
преди 7 години
Johannes Hofmann
d0507bb8fb
Reduce compile times: use image::load_from_memory without format
преди 7 години
Johannes Hofmann
098ebc582a
Include resources with include_bytes! macro
преди 7 години
Johannes Hofmann
5d67d3bef5
Add --sync option
преди 7 години
Johannes Hofmann
24ef61939c
Increase tile atlas size when needed
преди 8 години
Johannes Hofmann
1abbe6393d
Rename tile_cache_gl -> tile_atlas
преди 8 години
Johannes Hofmann
489df246d4
Draw in multiple steps when texture atlas is too small
преди 8 години
Johannes Hofmann
129f9c85fe
Move TextureRect to coord.rs
преди 8 години
Johannes Hofmann
364907e29e
Show tiles from a higher zoom level to fill gaps
преди 8 години
Johannes Hofmann
350e8db588
Add ability to switch tile source during execution
преди 8 години
Johannes Hofmann
2912a7b684
Rename Tile -> TileCoord
преди 8 години
Johannes Hofmann
16ffdb5baa
Initial commit :>
Started 2015
преди 8 години