Hannes Janetzek
|
22441bf527
|
avoid copy - pin coordinate buffer for triangulation
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
65e4845fef
|
grow ExtrusionLayer compiler buffer if necessary
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
c0a08c11c8
|
rename COORD_MULTIPLIER to COORD_SCALE
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
7cf4ca27f3
|
- add initial version of line stipple renderer
- 'vbo' moved to 'Layers'
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
45bb326258
|
update copyright
|
2013-10-09 01:55:53 +02:00 |
|
Hannes Janetzek
|
34bffcc15f
|
labeling testing
|
2013-10-09 01:55:53 +02:00 |
|
Hannes Janetzek
|
99dafda4b9
|
move TriangleJNI
|
2013-10-09 01:55:53 +02:00 |
|
Hannes Janetzek
|
344f4d7030
|
make final
|
2013-10-09 01:55:53 +02:00 |
|
Hannes Janetzek
|
3d8f62ec4a
|
cleanups
|
2013-10-09 01:55:50 +02:00 |
|
Hannes Janetzek
|
42964861b8
|
- BufferObject.get(): try to return a BufferObject with matching size so that glSubBufferData is used more often
- use BufferObject in ExtrusionLayer - fixes also wrong call to glDeleteBuffer from non-glThread
|
2013-10-09 01:55:49 +02:00 |
|
Hannes Janetzek
|
bdbe0c1527
|
handle explicitly closed polygons and those with touching inner/outer rings in one point. Bologna is a heavy case..
|
2013-10-09 01:55:48 +02:00 |
|
Hannes Janetzek
|
da64700613
|
decrease building height
|
2013-10-09 01:55:48 +02:00 |
|
Hannes Janetzek
|
5b3b299217
|
cleanup extrusion layer when it was not compiled
|
2013-10-09 01:55:48 +02:00 |
|
Hannes Janetzek
|
9e84a42177
|
improve guess for building height, now skylines look better
|
2013-10-09 01:55:47 +02:00 |
|
Hannes Janetzek
|
ec647fc4f5
|
cleanups
|
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
|
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
|
885eec73d5
|
cleanup, less bright buildings
|
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
|
6681247215
|
add safety check...
jni => for the real segv!
|
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 |
|