Commit graph

37 commits

Author SHA1 Message Date
Laura Klünder
c5b2ed9f4b split LevelGeometries into its two subtypes 2024-08-19 15:49:58 +02:00
Laura Klünder
9f264d1f59 make LevelRenderData into a dataclass 2024-08-19 15:19:12 +02:00
Laura Klünder
034f8fe463 refactor LevelGeometries code with type hints and stuff 2024-08-18 23:21:19 +02:00
Laura Klünder
bbbdfd15fb fix bugs with new ramps 2024-08-18 21:48:17 +02:00
Laura Klünder
8c8ef12cf0 make linter happy 2024-02-07 18:34:28 +01:00
Laura Klünder
d7f175f7ef add options and postpone imports to massively reduce memory usage 2024-02-07 18:17:13 +01:00
Gwendolyn
9399e5c377 rudimentary theme support 2024-01-06 16:13:38 +01:00
Gwendolyn
a0078a6312 fix wall rendering bug 2023-12-18 00:19:17 +01:00
Gwendolyn
245e451033 fix formatting 2023-11-11 13:30:45 +01:00
Gwendolyn
1ae1274c2c unwrap geometries were necessary to comply with the new shapely api 2023-11-09 18:58:31 +01:00
Laura Klünder
9618d7304f fix more bugs caused by updates, especially using unwrap_geom 2023-07-24 11:51:46 +02:00
Laura Klünder
1837c49ab8 hotfixes for processupdates 2023-07-24 11:51:46 +02:00
Laura Klünder
8cdd3138f6 sort obstacles properly 2019-12-22 21:21:53 +01:00
Laura Klünder
7734863c39 obstacle altitude 2019-12-22 20:57:32 +01:00
Laura Klünder
4826930bbb render obstacle color 2019-12-22 20:51:47 +01:00
Laura Klünder
06cc96680c no reverse sort here 2018-12-21 19:13:36 +01:00
Laura Klünder
27287b8a00 render colors in right order 2018-12-21 19:07:40 +01:00
Laura Klünder
c3d8a39b05 no doors outside of buildings 2018-12-16 19:26:47 +01:00
Laura Klünder
84fd2b0011 fix _build_vertex_values with no faces crash 2018-12-15 23:24:04 +01:00
Laura Klünder
8936fe5aea columns can have an accessrestriction now 2018-12-12 19:37:24 +01:00
Laura Klünder
4e2e8213bc move lower_bound and upper_bound calculation to renderdata 2018-12-06 17:37:54 +01:00
Laura Klünder
27885f4ee2 fix typo 2018-12-05 22:58:32 +01:00
Laura Klünder
5b4ee0b4d0 blender render engine: render buildings… in theory 2018-12-05 19:22:20 +01:00
Laura Klünder
6ed1d2a085 start of new blender render engine 2018-12-03 23:39:28 +01:00
Laura Klünder
9a80c2d38b dont crash if zero vertices are to build in _build_vertex_values 2018-01-15 19:12:07 +01:00
Laura Klünder
7c726ef845 do not merge obstacles. this seems to get to complicated for libgeos 2017-12-21 19:38:31 +01:00
Laura Klünder
82e180dcb3 add todo 2017-12-20 18:40:54 +01:00
Laura Klünder
45e29cac1f fix stupid faces=None bug 2017-12-20 18:40:23 +01:00
Laura Klünder
b4ce69c6b9 confine areas to their spaces 2017-12-15 16:06:31 +01:00
Laura Klünder
056a4ef635 hopefully this helps against the geos errors 2017-12-15 12:51:53 +01:00
Laura Klünder
ffa5fb382e more buffer(0) after difference()… hopefully this helps 2017-12-15 12:37:58 +01:00
Laura Klünder
eb7eac4448 try to fix validity problems in build_for_level 2017-12-15 12:35:31 +01:00
Laura Klünder
93cd4f0e77 more comments \o/ 2017-12-14 23:57:59 +01:00
Laura Klünder
a915e4401e simplify obstacle height calculation to fix rendering bugs 2017-11-25 22:53:50 +01:00
Laura Klünder
3720fbd0ff dont render obstacles with zero height 2017-11-25 14:37:06 +01:00
Laura Klünder
e06c71be61 add AccessRestrictionAffected as GeometryIndexed subclass 2017-11-20 17:21:19 +01:00
Laura Klünder
94ae86d690 refactor even more data→geometry and levelrender 2017-11-20 02:38:35 +01:00
Renamed from src/c3nav/mapdata/render/data/levelgeom.py (Browse further)