Commit graph

347 commits

Author SHA1 Message Date
Laura Klünder
b092d33a7c if walls_extended is used, omit upper wall faces 2017-11-14 16:28:44 +01:00
Laura Klünder
854c47bc45 fix glitches at extended walls when rendering full levels 2017-11-14 15:18:36 +01:00
Laura Klünder
92575a3e9a fix linter issue in pycharm 2017-11-14 15:07:00 +01:00
Laura Klünder
378e4fa822 add ground colors to engine colors 2017-11-14 15:06:50 +01:00
Laura Klünder
19123f0844 support for colors in openscad export 2017-11-14 15:02:56 +01:00
Laura Klünder
d6b94b0167 use level.short_label as group name for rendering 2017-11-14 14:38:38 +01:00
Laura Klünder
c99b9e4e58 remove scale from openscad export 2017-11-14 14:37:17 +01:00
Laura Klünder
f8dd3c2392 fix 3d centering 2017-11-14 14:35:17 +01:00
Laura Klünder
13f4f5164b optionally group geometries in engine to beautify openscad export 2017-11-14 14:27:50 +01:00
Laura Klünder
1c91c9a6db openscad: output as multiple polyhedrons 2017-11-14 13:46:48 +01:00
Laura Klünder
ae8de940b8 add option to center 3d exports and enable it by default 2017-11-14 13:40:19 +01:00
Laura Klünder
7e206d9a0a fix wrong np_offset 2017-11-14 13:37:37 +01:00
Laura Klünder
d2e9d26216 add OpenSCAD export and rename renderstl → rendermap 2017-11-14 13:17:27 +01:00
Laura Klünder
f8734da8e5 fix missing wall bottom faces 2017-11-14 12:26:49 +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
c3419ee492 our stl normals are long enough, drop the factor 2017-11-14 03:45:58 +01:00
Laura Klünder
37c2a7c743 walls_extended needs no bottom faces 2017-11-14 03:42:00 +01:00
Laura Klünder
ca213688bf hide wall bottom faces in 3d rendering without full levels 2017-11-14 03:37:30 +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
1e8305a281 fix min_altitude in renderer 2017-11-14 01:19:51 +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
89994a19fe enable blending 2017-11-10 19:34:47 +01:00
Laura Klünder
e26d5c0c0f scale and offset within vertex_shader 2017-11-10 19:11:42 +01:00
Laura Klünder
b73ddb641d remove empty line 2017-11-10 18:41:42 +01:00
Laura Klünder
4dcaefebbe opengl renderer fix error when trying to render empty borders 2017-11-10 18:41:18 +01:00
Laura Klünder
f3694fb0f0 remove unneeded return statement 2017-11-10 17:42:09 +01:00
Laura Klünder
a16336e9ae fix errors if there are no walls on a tile (or other geometry is empty) 2017-11-10 17:41:47 +01:00
Laura Klünder
9b6ff60b9c remove old auto_height stuff 2017-11-10 17:15:21 +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
f8302ab0ef only render bases if Engine is_3d 2017-11-10 00:27:37 +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