Hannes Janetzek
ac4c3846ba
add point line distance utility functions
2013-10-09 01:55:50 +02:00
Hannes Janetzek
235e001a82
add 'min-size' option to line renderinstruction, when size is less no outline will be drawn
2013-10-09 01:55:49 +02:00
Hannes Janetzek
6a34e478f5
improve text placement a little
2013-10-09 01:55:49 +02:00
Hannes Janetzek
007ab2e3bf
fix z-fighting on overlapping buildings:
...
- modify projection matrix to add offset, glPolygonOffset is not that reliable
2013-10-09 01:55:48 +02:00
Hannes Janetzek
4acd9a492f
finally got that z-value for un-projection right (=
...
- add more matrix utilities
2013-10-09 01:55:48 +02:00
Hannes Janetzek
bfe8cf2889
use setTileMatrix utility function
2013-10-09 01:55:48 +02:00
Hannes Janetzek
82eb7e4973
more line intersection utilities
2013-10-09 01:55:47 +02:00
Hannes Janetzek
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
2013-10-09 01:55:47 +02:00
Hannes Janetzek
c01252f249
- fix roof triagulation for polygons with holes
...
- omit indices for outline outside tile boundaries
2013-10-09 01:52:19 +02:00
Hannes Janetzek
c9137aa790
pack colors to array before passing to gl
2013-10-09 01:47:43 +02:00
Hannes Janetzek
695c1532d6
a point, with floats
2013-10-09 01:40:21 +02:00
Hannes Janetzek
b7aaaef485
- improve way-labeling
...
- let nomination search places instead of tags
2013-10-09 01:40:21 +02:00
Hannes Janetzek
ab5962d56c
add osmdroid overlays + bonuspack
2013-10-09 01:40:21 +02:00
Hannes Janetzek
4a06553ddc
more work on overlay renderer:
...
- moved text rendering to overlay
- added grid overlay
2013-10-09 01:27:43 +02:00
Hannes Janetzek
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
2013-10-09 01:27:43 +02:00
Hannes Janetzek
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)
2013-10-09 01:22:48 +02:00
Hannes Janetzek
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
added: ScanBox scanline fill used for calculating visible tiles
rename:
- ShortPool -> VertexPool
- tile.isActive -> isLocked
2013-10-09 01:22:47 +02:00
Hannes Janetzek
7d7cf10d89
- fixed MapViewPosition scaleMap
...
- fixed GLRender isVisible() for proxy tiles
- smoother scale animation
2013-10-09 01:22:47 +02:00
Hannes Janetzek
6ee2a85e12
fixes:
...
- start MapWorkers at end of init
- check for screensize > 0 in updateMap
2013-10-09 01:22:47 +02:00
Hannes Janetzek
a1317a9de5
- remove swrenderer
...
- rearchitect:
now that MapView is a ViewGroup and MapRenderer is the GLSurfaceView.
- lock/unlock proxy tiles properly to not be removed from cache while in use
2013-10-09 01:22:33 +02:00