Hannes Janetzek
|
54923d6bff
|
fix bug overlay lines causing short flashing lines when changing zoom-levels
|
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
|
e1fb97ae30
|
draw text textures only once per string
- unify duplicate strings from different tiles (as side-effect save some bytes)
- fix 'advance by width' in texture drawing
|
2013-10-09 01:55:49 +02:00 |
|
Hannes Janetzek
|
9705811f7b
|
fix way too much z-offset used for roof outline
|
2013-10-09 01:55:49 +02:00 |
|
Hannes Janetzek
|
3c990b3289
|
add more labels as they fit at current scale
|
2013-10-09 01:55:48 +02:00 |
|
Hannes Janetzek
|
21584637ed
|
cleanup
|
2013-10-09 01:55:48 +02:00 |
|
Hannes Janetzek
|
dabfe680a9
|
one single light direction from north
|
2013-10-09 01:55:48 +02:00 |
|
Hannes Janetzek
|
b8287f9ecf
|
move near plane back, fixes clipping issue with most large buildings
|
2013-10-09 01:55:48 +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
|
a9f5525c50
|
trying to get polygon offset right...
|
2013-10-09 01:55:48 +02:00 |
|
Hannes Janetzek
|
a7790537f2
|
use 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
|
1c11cd1780
|
building shader experiments
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
f266d61a35
|
fix wrap over date-line, again
started on-hold mode to avoid relabeling while zoom gesture is active
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
088f3e2385
|
enable glDepthMask before clearing depth buffer:
- fixes building rendering on nexus and asus tablet
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
a03f81d306
|
only modify DEPTH_TEST through GLState
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
1807f0b9dc
|
animate buildings
|
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
|
05e6490d3a
|
cleanups
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
ed39f9fe34
|
buildings: decrease contrast with z-distance
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
885eec73d5
|
cleanup, less bright buildings
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
7cc32f1572
|
use GLState for depth and stencil test
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
e50ea0c2ba
|
refactor: move rendering of base layers to separate class
- keep track of GL state in GLState
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
99ce02a9bd
|
-rename BuildingOverlay -> ExtrusionOverlay,
even if there is probably nothing else to extrude
- started to draw extrusion layer for proxy tiles
- fixed depth offsetting..
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
35923938db
|
use glCullFace GL_FRONT to avoid having to flip triangles
triangle-jni: some loop optimizations
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
230f9b2828
|
enable polygon offset again
|
2013-10-09 01:52:19 +02:00 |
|
Hannes Janetzek
|
d5ba228fe5
|
- add building roof outlines
- create extrusion vertices and indices in one loop
|
2013-10-09 01:52:19 +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
|
eb278585fa
|
more work on building layer
|
2013-10-09 01:52:19 +02:00 |
|
Hannes Janetzek
|
ac63a4cae1
|
add beginnings of BuildingOverlay
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
f761be1999
|
refactor: rename RenderOverlay classes
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
eb0b7a8c0c
|
add beginnings of OverlayModel, rendering only a box atm
- modified gl projection so that map layer is always between near- and far-plane
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
9b0b2db57b
|
fix wrap around date-line in label overlay
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
3dc36e108a
|
- rename class Tiles -> TileSet
- cleanup + comments
|
2013-10-09 01:47:43 +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
|
78aac5f019
|
- rename MapRenderer to TileManager and refactor
- move overlay renderer to own package
- slight TouchHandler improvements, not start rotation when scaling
|
2013-10-09 01:40:21 +02:00 |
|