Commit graph

387 commits

Author SHA1 Message Date
Laura Klünder
a6daeb6153 rename cache files for better overview 2017-11-20 17:25:21 +01:00
Laura Klünder
e06c71be61 add AccessRestrictionAffected as GeometryIndexed subclass 2017-11-20 17:21:19 +01:00
Laura Klünder
87d1e3e7f5 don't import anything in render.__init__ 2017-11-20 02:53:49 +01:00
Laura Klünder
94ae86d690 refactor even more data→geometry and levelrender 2017-11-20 02:38:35 +01:00
Laura Klünder
6bad1f9cc3 split up c3nav.mapdata.render.data 2017-11-20 02:28:08 +01:00
Laura Klünder
116590b88f c3nav.mapdata.cache → c3nav.mapdata.utils.cache 2017-11-20 00:39:01 +01:00
Laura Klünder
3b6a55dda7 outsource this duplicate code 2017-11-19 20:04:58 +01:00
Laura Klünder
4594c44539 avoid confusing the triangle library with too complex ring intersections 2017-11-19 19:54:22 +01:00
Laura Klünder
6a4ad6b584 revert 2017-11-19 01:02:21 +01:00
Laura Klünder
aa8e745b79 ground is ground 2017-11-19 00:57:37 +01:00
Laura Klünder
25794fb613 fix bases for non-full-level rendering or ramps 2017-11-19 00:30:08 +01:00
Laura Klünder
dcb0edcbd8 fix missing columns 2017-11-18 23:30:10 +01:00
Laura Klünder
6812edb8b3 Mesh() is not a namedtuple to improve performance 2017-11-18 23:07:22 +01:00
Laura Klünder
b700ccd46c try to call heavy shapely operations less often to improve performance 2017-11-18 22:44:06 +01:00
Laura Klünder
b6be667cfc no reason to save levels, we dont store anything in them anymore 2017-11-18 21:18:31 +01:00
Laura Klünder
b63ab7d4e4 fix fatal errors during rendering 2017-11-18 19:21:21 +01:00
Laura Klünder
391e2dffa2 avoid intersections and identifcal faces _create_polyhedron 2017-11-18 16:19:28 +01:00
Laura Klünder
eac6048fe3 ensure ramps affect obstacles correctly 2017-11-18 15:58:33 +01:00
Laura Klünder
9b66a2b4e5 fix short_walls below ramps 2017-11-18 13:48:33 +01:00
Laura Klünder
465391d145 fix scrambled bottom faces 2017-11-18 13:31:33 +01:00
Laura Klünder
da25951555 ramp rendering 2017-11-18 13:30:20 +01:00
Laura Klünder
976c49c8ab introducing short walls, so walls stay below stairs from levels on top 2017-11-17 20:07:00 +01:00
Laura Klünder
11b202b013 obstacles can not be on holes 2017-11-16 14:17:54 +01:00
Laura Klünder
d9e443c9cc save level render data into a file instead of pickling it into the db 2017-11-16 02:26:04 +01:00
Laura Klünder
7f0d52f23f rename map history files to be less confusing 2017-11-16 02:03:36 +01:00
Laura Klünder
bee01dab6c fix missing border in opengl renderer 2017-11-15 04:06:43 +01:00
Laura Klünder
57db0621ad levels_on_top (above and below) should be part of the joined map history 2017-11-14 23:37:12 +01:00
Laura Klünder
8d7bc8c4b2 remove debug statement 2017-11-14 23:29:03 +01:00
Laura Klünder
ecdcd29c51 fix opengl renderer 2017-11-14 23:23:02 +01:00
Laura Klünder
37a7119455 render obstacles 2017-11-14 22:18:53 +01:00
Laura Klünder
3315fbf057 door heights 2017-11-14 21:33:55 +01:00
Laura Klünder
f2b0fc26b1 don't render altitudearea polyhedrons within columns 2017-11-14 21:11:22 +01:00
Laura Klünder
b76f35a4a5 wavefront obj export 2017-11-14 20:53:04 +01:00
Laura Klünder
afbb9e7427 add commented-out debug for watertightness checking 2017-11-14 18:25:46 +01:00
Laura Klünder
2d3c3e7337 fix stl renderer to work with new vertices format 2017-11-14 18:24:47 +01:00
Laura Klünder
651d6b79eb avoid merging intersecting polygons too early 2017-11-14 18:18:22 +01:00
Laura Klünder
54b21b12ce simplify calculations in non-full-level rendering 2017-11-14 18:02:17 +01:00
Laura Klünder
fcda46b094 fix non-watertight meshes for non-full-level renderings 2017-11-14 17:55:35 +01:00
Laura Klünder
94420b5043 we need watertight polyhedrons, so dont omit bottom faces of gronud colors 2017-11-14 17:33:58 +01:00
Laura Klünder
a90de12aba create doors_extended because walls_extended was non-watertight be design 2017-11-14 17:23:45 +01:00
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