d0ad2f3bd4
- LineClipper added start(x0,y0), clipNext(x1,y1) 'state' clipping mode - use vec4 array for extrusion colors -> set color only once for all tiles - use full range for direction vector in extrusion vertex
Hannes Janetzek2013-01-06 21:52:10 +01:00
e9d2c88022
TileManager, JobQueue: use MapTile[] instead of list
Hannes Janetzek2013-01-06 21:24:48 +01:00
d94f8e2af4
ignore polygons that require additional nodes in trigulation
Hannes Janetzek2013-01-06 06:33:43 +01:00
e50ea0c2ba
refactor: move rendering of base layers to separate class - keep track of GL state in GLState
Hannes Janetzek2013-01-05 05:42:29 +01:00
99ce02a9bd
-rename BuildingOverlay -> ExtrusionOverlay, even if there is probably nothing else to extrude - started to draw extrusion layer for proxy tiles - fixed depth offsetting..
Hannes Janetzek2013-01-05 02:46:27 +01:00
0c023f9989
handle explicitly closed properly: - make buildings work with vector-tile-server and old pbmap backend
Hannes Janetzek2013-01-04 22:41:32 +01:00
35923938db
use glCullFace GL_FRONT to avoid having to flip triangles triangle-jni: some loop optimizations
Hannes Janetzek2013-01-04 21:05:27 +01:00
45b19d6a91
fix triangulation of complex polygons: find coordinates inside hole non-convex holes
Hannes Janetzek2013-01-04 19:49:51 +01:00
d5ba228fe5
- add building roof outlines - create extrusion vertices and indices in one loop
Hannes Janetzek2013-01-04 08:53:18 +01:00
c01252f249
- fix roof triagulation for polygons with holes - omit indices for outline outside tile boundaries
Hannes Janetzek2013-01-04 06:30:36 +01:00
eb0b7a8c0c
add beginnings of OverlayModel, rendering only a box atm - modified gl projection so that map layer is always between near- and far-plane
Hannes Janetzek2012-12-30 18:51:55 +01:00
45cf6620a9
- keep track of vertex array state in GLRenderer.enableVertexArrays - use static imports for GL functions
Hannes Janetzek2012-12-29 23:39:25 +01:00
e4276ae9c4
avoid overflow when reading more than 64k into buffer (we had only two tiles where this could have happend :)
Hannes Janetzek2012-12-07 00:19:43 +01:00
c5663df198
close polygons implicitly when using OSciMap2 database
Hannes Janetzek2012-12-07 00:18:13 +01:00
7f598f5ccf
- MapView now requires to setMapDatabase(MapOptions) explicitly - pass MapOptions when opening MapDatabase
Hannes Janetzek2012-11-26 12:33:17 +01:00
2ac904ecef
avoid possible segv when recreating tiles (e.g. when returning to MapActivity)
Hannes Janetzek2012-11-25 22:14:00 +01:00
cbceb2c6e9
increase min-distance point reduction for overlay paths
Hannes Janetzek2012-10-28 17:31:03 +01:00
e65911fb07
fix against overflowing max polygon offset (whatever that value might be...)
Hannes Janetzek2012-10-28 17:30:30 +01:00
5916f1be5e
- extract App into separate project, make VectorTileMap a library project - added minimum MapActivity example
Hannes Janetzek2012-10-28 17:28:24 +01:00
78aac5f019
- rename MapRenderer to TileManager and refactor - move overlay renderer to own package - slight TouchHandler improvements, not start rotation when scaling
Hannes Janetzek2012-10-20 00:50:32 +02:00
98246fe50b
- rotate multiple bitmaps to draw and upload textures
Hannes Janetzek2012-10-15 17:31:57 +02:00
4a06553ddc
more work on overlay renderer: - moved text rendering to overlay - added grid overlay
Hannes Janetzek2012-10-13 04:57:27 +02:00
33d8865d7b
- started overlays - started symbol layer - move renderer and generator out of view package - hopefully the last big refactoring for a while... - improve perspective, plane should be more far away to decrease foreshortening
Hannes Janetzek2012-10-09 13:23:15 +02:00
b4dd83fc09
- improve tile locking (use ref counter instead of boolean) - flip over date line (inserting placeholder tiles in renderer) - make view coordinates consistent with tile coordinates (flip on y-axis)
Hannes Janetzek2012-09-30 20:42:04 +02:00
5bf9deef89
- prevent possible concurrency between updateMap 'clear' tiles and onDrawFrame - no need to sync tile in uploadTileData anymore, now that proxies are locked properly - cleanups
Hannes Janetzek2012-09-26 22:43:59 +02:00
c5e3be9d2b
- started to move Matrices to MapViewPosition as these can be shared with MapRenderer(TileLoader) and GLRenderer. - using inverse projection to determine visible tiles and mapping screen-coordinates to model - making MapPosition not final, reuse instance to get Position in Map-/GLRender
Hannes Janetzek2012-09-26 17:02:03 +02:00
8ec405cf5c
- added tilt view gesture - use simple line shader when rotation is disabled
Hannes Janetzek2012-09-23 11:08:18 +02:00
7d7cf10d89
- fixed MapViewPosition scaleMap - fixed GLRender isVisible() for proxy tiles - smoother scale animation
Hannes Janetzek2012-09-22 07:24:35 +02:00
8d57bc7531
unprojection stuff, needed for scan-line visibility checker
Hannes Janetzek2012-09-20 19:55:06 +02:00