Laura Klünder
|
0d7e5fec75
|
save polyhedrons to LevelRenderData and render OpenGL in 3D
|
2017-11-09 16:15:10 +01:00 |
|
Laura Klünder
|
7d4df19adc
|
improve _create_polyhedron()
|
2017-11-09 14:59:55 +01:00 |
|
Laura Klünder
|
799913e1a3
|
_create_polyhedron()
|
2017-11-09 14:51:37 +01:00 |
|
Laura Klünder
|
64de7f7c58
|
get vertice_altititudes and vertices_heights in set_mesh_lookup_data
|
2017-11-08 23:37:08 +01:00 |
|
Laura Klünder
|
5774910a25
|
move clip_altitudes and altitudes management to SVGEngine
|
2017-11-08 23:16:41 +01:00 |
|
Laura Klünder
|
426d838b13
|
calculate heightareas and vertex_heights
|
2017-11-08 22:57:34 +01:00 |
|
Laura Klünder
|
4b94d892d7
|
calculate vertex_altitudes
|
2017-11-08 22:22:29 +01:00 |
|
Laura Klünder
|
aeb7bd698c
|
fix typo
|
2017-11-08 19:42:37 +01:00 |
|
Laura Klünder
|
7014bdb64b
|
replace SSAA with MSAA
|
2017-11-08 19:33:20 +01:00 |
|
Laura Klünder
|
1a797b16f7
|
move get_level_render_data to LevelRenderData.get() and cache locally
|
2017-11-08 18:21:54 +01:00 |
|
Laura Klünder
|
ef29f48873
|
opengl faces cache
|
2017-11-08 18:05:08 +01:00 |
|
Laura Klünder
|
3e41ac9e14
|
use HybridGeometry to precache triangulations
|
2017-11-08 18:04:07 +01:00 |
|
Laura Klünder
|
7790c16bc0
|
draw lines aroung geometries with altitude only in svg engine
|
2017-11-08 18:03:40 +01:00 |
|
Laura Klünder
|
c87780dd75
|
store background_rgb as 0-1 float, not 0-255 int
|
2017-11-08 14:35:14 +01:00 |
|
Laura Klünder
|
f82c7de5da
|
refactor one_pixel logic
|
2017-11-08 14:31:50 +01:00 |
|
Laura Klünder
|
335970ffcc
|
implement SSAA
|
2017-11-08 14:31:37 +01:00 |
|
Laura Klünder
|
b54661ef78
|
add OpenGLWorker to make it possible to reuse OpenGL resources
|
2017-11-08 14:17:06 +01:00 |
|
Laura Klünder
|
0713fe2e44
|
fix OpenGLEngine._add_geometry
|
2017-11-08 12:35:48 +01:00 |
|
Laura Klünder
|
bee51f000b
|
move triangulate_polygon into c3nav.mapdata.utils.mesh
|
2017-11-07 22:58:47 +01:00 |
|
Laura Klünder
|
accd656a78
|
fix comment referencing old SVGImage class
|
2017-11-07 22:16:52 +01:00 |
|
Laura Klünder
|
3b628681d6
|
render levels_on_top of current level
|
2017-11-07 21:52:51 +01:00 |
|
Laura Klünder
|
0e23945be4
|
replace trimesh.triangulate_polygon with faster direct meshpy implementation
|
2017-11-07 14:15:03 +01:00 |
|
Laura Klünder
|
d28ee8b461
|
cache color_to_rgb
|
2017-11-07 12:57:00 +01:00 |
|
Laura Klünder
|
d0abf2a282
|
support for rgba() color string in opengl renderer and <1px lines
|
2017-11-07 12:24:31 +01:00 |
|
Laura Klünder
|
2d7cc52941
|
simplify opengl stroke creation
|
2017-11-07 12:03:18 +01:00 |
|
Laura Klünder
|
ee0e5a5f0a
|
add type hinting to fix linter
|
2017-11-07 00:29:18 +01:00 |
|
Laura Klünder
|
b5a83f08b9
|
if stroke and fill color are identical, only draw buffered fill
|
2017-11-07 00:26:59 +01:00 |
|
Laura Klünder
|
1fd7c51c21
|
draw strokes in OpenGLEngine
|
2017-11-07 00:20:23 +01:00 |
|
Laura Klünder
|
1a0fc522cf
|
something something triangles
|
2017-11-06 23:44:06 +01:00 |
|
Laura Klünder
|
a05c7a5a3c
|
add base for OpenGL map render engine
|
2017-11-06 11:19:53 +01:00 |
|
Laura Klünder
|
80fb9e2df7
|
move clip_altitudes() to base RenderEngine
|
2017-11-06 10:02:34 +01:00 |
|
Laura Klünder
|
0f251af6a9
|
remove filter and clip_path
|
2017-11-05 13:30:45 +01:00 |
|
Laura Klünder
|
891a1df418
|
rename elevation → height
|
2017-11-05 13:24:35 +01:00 |
|
Laura Klünder
|
f928fd8b6e
|
fix imports
|
2017-11-05 12:32:07 +01:00 |
|
Laura Klünder
|
36146ac954
|
c3nav.mapdata.render.image → c3nav.mapdata.render
|
2017-11-05 11:24:53 +01:00 |
|
Laura Klünder
|
df451f9143
|
cleanup render code to make room for the opengl rendering engine
|
2017-11-04 23:21:36 +01:00 |
|
Laura Klünder
|
f7291ff237
|
disable altitudearea shadow rendering for now (takes too long)
|
2017-11-03 14:59:55 +01:00 |
|
Laura Klünder
|
55f0f481fe
|
optimized empty png image in SVGImage
|
2017-10-29 14:24:45 +01:00 |
|
Laura Klünder
|
a3be7b2842
|
flip every y,x to x,y
|
2017-10-29 11:32:44 +01:00 |
|
Laura Klünder
|
bfe1491efc
|
add border to map renderings
|
2017-10-29 09:32:15 +01:00 |
|
Laura Klünder
|
aee452679c
|
get and apply tile access cookie
|
2017-10-24 23:41:53 +02:00 |
|
Laura Klünder
|
efa2e97970
|
delete tile access cookie if it would be empty
|
2017-10-24 23:28:38 +02:00 |
|
Laura Klünder
|
e24dace846
|
set tile access cookie
|
2017-10-24 23:27:07 +02:00 |
|
Laura Klünder
|
10da4f3bb6
|
implement access permissions
|
2017-10-24 22:45:57 +02:00 |
|
Laura Klünder
|
6b6e3afa7b
|
tile view: use new intelligent caching
|
2017-10-24 18:12:46 +02:00 |
|
Laura Klünder
|
7640e77c14
|
build map history with holes
|
2017-10-24 15:29:43 +02:00 |
|
Laura Klünder
|
82fc9f2264
|
rename cache_key→current_cache_key
|
2017-10-23 22:49:45 +02:00 |
|
Laura Klünder
|
2124b4a536
|
move cache.py to mapdata root
|
2017-10-23 19:32:11 +02:00 |
|
Laura Klünder
|
5af314d282
|
register updated geometries for tile cache invalidation
|
2017-10-23 19:25:15 +02:00 |
|
Laura Klünder
|
6592c344b2
|
more render() optimization: filter out empty sublevels directly
|
2017-10-20 22:13:46 +02:00 |
|