Commit graph

387 commits

Author SHA1 Message Date
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
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
b18ea92a9b STLEngine 2017-11-09 21:00:20 +01:00
Laura Klünder
8eab7cca96 render ground colors in 3d correctly 2017-11-09 20:59:45 +01:00
Laura Klünder
2a62795e4a weird scaling is only for OpenGL, not all 3D in general 2017-11-09 20:56:16 +01:00
Laura Klünder
288e0fd9d6 don't flatten. keep triangles. 2017-11-09 20:18:42 +01:00
Laura Klünder
0f60449cb0 some fail safes in MapRenderer.__init__ 2017-11-09 20:14:23 +01:00
Laura Klünder
b2da4df1c4 keep triangles together in base 3d engine 2017-11-09 20:04:25 +01:00
Laura Klünder
37e9dcc1f6 drop suppoprt for svg output 2017-11-09 17:42:19 +01:00
Laura Klünder
c365debfba HybridGeometry.difference() aka access restrictions in map rendering 2017-11-09 17:29:19 +01:00