Commit graph

41 commits

Author SHA1 Message Date
Laura Klünder
d6b94b0167 use level.short_label as group name for rendering 2017-11-14 14:38:38 +01:00
Laura Klünder
1271789d06 fix walls once and for all hopefully 2017-11-14 04:21:20 +01:00
Laura Klünder
c073dcd533 walls should start on the ground, not below 2017-11-14 04:18:38 +01:00
Laura Klünder
61fb5d0458 bottom=False, not bottom=0 2017-11-14 04:18:21 +01:00
Laura Klünder
02e3a84ce5 restricted_spaces_indoors can also start on ground without bottom faces 2017-11-14 03:50:12 +01:00
Laura Klünder
a93eeb084d make ground-color meshes non-intersecting and without bottom faces 2017-11-14 03:48:12 +01:00
Laura Klünder
37c2a7c743 walls_extended needs no bottom faces 2017-11-14 03:42:00 +01:00
Laura Klünder
685a11cde2 remove triangles with no area 2017-11-14 03:15:12 +01:00
Laura Klünder
73f27300ca save all mesh coordinates as mm-ints to avoid floating point errors 2017-11-14 02:49:02 +01:00
Laura Klünder
dd8d160a10 filter faces to make better/simpler meshes 2017-11-14 01:29:17 +01:00
Laura Klünder
12eba11185 walls bases not do not contain all faces 2017-11-14 01:16:40 +01:00
Laura Klünder
5929603a13 save top, side and bottom faces seperately and allow ommiting some of them 2017-11-14 01:01:13 +01:00
Laura Klünder
404d959f7f fix bases 2017-11-14 00:24:13 +01:00
Laura Klünder
7294fa33b2 fix _create_polyhedron with no faces 2017-11-14 00:01:07 +01:00
Laura Klünder
ff31af44e0 fix create_polyhedron code 2017-11-13 23:08:51 +01:00
Laura Klünder
b4dfb14ae8 fix errors when polygons touch 2017-11-11 01:59:32 +01:00
Laura Klünder
ea22c7a927 process updates asynchronously 2017-11-10 16:32:58 +01:00
Laura Klünder
cfbe7c07f6 some linter stuff 2017-11-10 02:19:58 +01:00
Laura Klünder
fb0f886083 complete prefetch_related in LevelRenderData.rebuild() 2017-11-10 02:03:28 +01:00
Laura Klünder
e3e08eed71 a little bit less 2017-11-10 01:50:58 +01:00
Laura Klünder
ab4402907d connect levels in full_levels renderung 2017-11-10 01:47:55 +01:00
Laura Klünder
9ed381567d remove old outcommented code 2017-11-10 00:49:03 +01:00
Laura Klünder
6d586973ea restricted_spaces_indoors schould also begin low enough 2017-11-10 00:25:56 +01:00
Laura Klünder
90f3327e5c render bases if full_levels is not set 2017-11-10 00:25:27 +01:00
Laura Klünder
37a29f5822 small potential improvement of LevelRenderData.rebuild() 2017-11-09 23:33:58 +01:00
Laura Klünder
f9cea4dbbc add full_levels render option 2017-11-09 23:25:08 +01:00
Laura Klünder
5707b0c15c move default_height into LevelGeometries 2017-11-09 22:55:46 +01:00
Laura Klünder
b04b9918e8 walls to begin 0.7m below 2017-11-09 22:02:30 +01:00
Laura Klünder
8eab7cca96 render ground colors in 3d correctly 2017-11-09 20:59:45 +01:00
Laura Klünder
c365debfba HybridGeometry.difference() aka access restrictions in map rendering 2017-11-09 17:29:19 +01:00
Laura Klünder
b8709b3a98 render altitudeareas and ground colors 2017-11-09 16:31:01 +01:00
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
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
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
3b628681d6 render levels_on_top of current level 2017-11-07 21:52:51 +01:00
Laura Klünder
36146ac954 c3nav.mapdata.render.image → c3nav.mapdata.render 2017-11-05 11:24:53 +01:00
Renamed from src/c3nav/mapdata/render/image/data.py (Browse further)