Hannes Janetzek
|
9d2ebab088
|
use specialized BinarySort for MapTiles that also repacks the 'sparsed' array
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
ec647fc4f5
|
cleanups
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
406bea404d
|
fix: dont crash on restart
|
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
|
e9d2c88022
|
TileManager, JobQueue: use MapTile[] instead of list
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
05e6490d3a
|
cleanups
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
a61d2d4804
|
refactor: use getColor()
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
ed39f9fe34
|
buildings: decrease contrast with z-distance
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
cb9cd645af
|
allocate larger buffers for triangulation...
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
def840b482
|
cleanups
|
2013-10-09 01:52:20 +02:00 |
|
Hannes Janetzek
|
bf7d5569e9
|
fix clipping when drawing proxies
|
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
|
0c023f9989
|
handle explicitly closed properly:
- make buildings work with vector-tile-server and old pbmap backend
|
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
|
3484110e08
|
avoid sqrt, just flip that vector
|
2013-10-09 01:52:19 +02:00 |
|
Hannes Janetzek
|
6681247215
|
add safety check...
jni => for the real segv!
|
2013-10-09 01:52:19 +02:00 |
|
Hannes Janetzek
|
230f9b2828
|
enable polygon offset again
|
2013-10-09 01:52:19 +02:00 |
|
Hannes Janetzek
|
c2f5755e64
|
clear Clipper when layer is compiled
|
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
|
cfa56c00f6
|
move TileGenerator from 'renderer' to 'generator' package
|
2013-10-09 01:47:44 +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
|
45cf6620a9
|
- keep track of vertex array state in GLRenderer.enableVertexArrays
- use static imports for GL functions
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
a8b25d07ad
|
keep tile loading state in JobTile.state
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
60637f7440
|
make uniform handle local var
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
c5663df198
|
close polygons implicitly when using OSciMap2 database
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
d5b480cf22
|
lint changed its opinion on whether FloatMath is faster than Math. need to do some benchmarks..
http://code.google.com/p/android/issues/detail?id=36199
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
4c458d9d1f
|
improve dbg msg
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
7f598f5ccf
|
- MapView now requires to setMapDatabase(MapOptions) explicitly
- pass MapOptions when opening MapDatabase
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
2ac904ecef
|
avoid possible segv when recreating tiles (e.g. when returning to MapActivity)
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
17a610e06e
|
add comments
|
2013-10-09 01:47:43 +02:00 |
|
Hannes Janetzek
|
481a5e079e
|
disable poi symbols for tiles, currently broken and should be done in 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
|
64c56ce7df
|
always (re-)set VertexAttribArray state, solves issue with gl hanging on S3
|
2013-10-09 01:46:34 +02:00 |
|
Hannes Janetzek
|
dd64d6da26
|
fix: unlock tiles properly onResume
|
2013-10-09 01:40:21 +02:00 |
|
Hannes Janetzek
|
807e5c4f30
|
no more maxIndices per texture
|
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
|
0eda94864f
|
TileMapApp: improve POI overlays
|
2013-10-09 01:40:21 +02:00 |
|
Hannes Janetzek
|
e65911fb07
|
fix against overflowing max polygon offset (whatever that value might be...)
|
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 |
|
Hannes Janetzek
|
98246fe50b
|
- rotate multiple bitmaps to draw and upload textures
|
2013-10-09 01:40:19 +02:00 |
|
Hannes Janetzek
|
9efe46e3ba
|
cleanups
|
2013-10-09 01:39:51 +02:00 |
|