Commit Graph

2180 Commits

Author SHA1 Message Date
Dustin Carlino
21520c6afa also mouseover KML shapes in debug mode when unzoomed 2019-05-19 15:01:40 -07:00
Dustin Carlino
6734e57ab1 dont suppress traffic signal details when hovering on parking lane 2019-05-19 14:51:07 -07:00
Dustin Carlino
71e1fe6a58 inline crosswalks into stop sign and border drawing 2019-05-19 14:44:03 -07:00
Dustin Carlino
c728210b2d render selected turn icons better, just highlighting the circle 2019-05-19 13:28:43 -07:00
Dustin Carlino
e6a3b02689 make stop sign editor use stop signs on the side of the road for
controls
2019-05-19 12:45:12 -07:00
Dustin Carlino
7760d42d4a recompute DrawIntersection after editing stop signs 2019-05-19 12:11:25 -07:00
Dustin Carlino
c9f5b92496 much simpler idea for intersection geom -- just extend the last line of all incoming roads 2019-05-18 12:32:25 -07:00
Dustin Carlino
ebc8bafab1 using adjacent roads to glue together polylines 2019-05-17 16:28:05 -07:00
Dustin Carlino
4c1e9b41c1 experimentally try finding intersection polygon by naively intersecting thick road polygons. 2019-05-17 15:48:21 -07:00
Dustin Carlino
de51b1c154 simplify some render/ code by using GeomBatch 2019-05-17 13:14:58 -07:00
Dustin Carlino
222ddf6a96 use Distance, not f64, for some params in geom/ layer, simplifying other code 2019-05-17 12:42:36 -07:00
Dustin Carlino
c29039c499 policies for four-ways all one-ways 2019-05-17 12:00:29 -07:00
Dustin Carlino
dec8d65776 better traffic light policy for degenerate intersections 2019-05-17 10:31:51 -07:00
Dustin Carlino
808d4b2718 batch turn icon drawing in editors 2019-05-16 19:25:33 -07:00
Dustin Carlino
ec015624c0 workaround for awful intersection geometry causing get_outline's that
explode out to some corner and get constantly rendered
2019-05-16 18:49:47 -07:00
Dustin Carlino
db04553626 batch traffic signal drawing 2019-05-16 17:55:26 -07:00
Dustin Carlino
a816a3d0be defining a better set of pre-converted maps. disabling fix_ramps in most
cases.
2019-05-16 16:22:52 -07:00
Dustin Carlino
88856c50ce nice OSD name for intersections 2019-05-16 14:54:18 -07:00
Dustin Carlino
b6cdd0f99c fix crosswalk coupling in intersection editors, not sure when this broke 2019-05-16 14:46:00 -07:00
Dustin Carlino
1d5e5a2795 release 2019-05-15 16:31:26 -07:00
Dustin Carlino
6819889f49 draw car blinkers for everybody Queued too 2019-05-15 15:05:45 -07:00
Dustin Carlino
113aa99b47 show signal yield turns as outlines, not dashes 2019-05-15 15:00:38 -07:00
Dustin Carlino
bb2ce2c2f5 only mouseover areas in unzoomed debug mode 2019-05-15 14:28:35 -07:00
Dustin Carlino
d516985437 use different colors for unzoomed roads to show road type 2019-05-15 14:23:39 -07:00
Dustin Carlino
bb4d593c46 turn arrows for bikes too 2019-05-15 13:16:52 -07:00
Dustin Carlino
d3f866a82a draw exact arrows for car blinkers 2019-05-15 12:31:08 -07:00
Dustin Carlino
a08f90def8 always draw car blinkers, maybe in an inactive color 2019-05-15 12:21:51 -07:00
Dustin Carlino
f7c59e710d get rid of blinking turn signals. dont be in Animation mode constantly. doesnt look that great and really burns CPU. 2019-05-15 11:56:12 -07:00
Dustin Carlino
d5aebd4d4a prevent double-use of Escape key between context and modal menus 2019-05-15 11:02:02 -07:00
Dustin Carlino
5b6e541f9c fix mac scrolling and the directory name in the release script 2019-05-15 10:06:42 -07:00
Dustin Carlino
e350d10578 fix crash in to_thick_boundary triggered in the 23rd map 2019-05-14 10:42:42 -07:00
Dustin Carlino
faea2e94e3 improve LCing turns with degenerate intersections, turn markings 2019-05-14 10:28:22 -07:00
Dustin Carlino
73aab37fc7 explicitly represent StraightWithLaneChanging turns. fix up preset
stop sign and traffic signal policies
2019-05-13 16:58:02 -07:00
Dustin Carlino
75d1cdd3b9 slightly improve traffic signal runtime: Priority > Yield 2019-05-13 15:47:25 -07:00
Dustin Carlino
9252dbd14b traffic signal boxes have 3 circles, more recognizable 2019-05-13 14:46:50 -07:00
Dustin Carlino
3ab012906f draw stop signs to the right of the road... initial version with lots of
problems, but looks OK. removing stop lines on lanes.
2019-05-13 14:02:47 -07:00
Dustin Carlino
639ce25d09 hatching shader's stripes are now in map-space, are crosses, and have
color/size tuned
2019-05-12 18:35:12 -07:00
Dustin Carlino
f4620c1951 add basic hatching support to fragment shader. use it to visualize map
edits when zoomed in
2019-05-12 17:59:12 -07:00
Dustin Carlino
ba71d2d5e6 dont be so confusing with CarAppearing in interactive commands -- dont retry if there's not room 2019-05-12 15:06:12 -07:00
Dustin Carlino
6ab8372b01 SharedSidewalkCorners always have Priority; they never conflict with anything 2019-05-12 09:14:46 -07:00
Dustin Carlino
b9f80f3e0f make cars pause at stop signs properly 2019-05-12 08:50:46 -07:00
Dustin Carlino
aa7bd11797 tweak edit mode's menu info 2019-05-11 16:53:30 -07:00
Dustin Carlino
4dcdbf0593 show time left for traffic signals 2019-05-11 16:45:24 -07:00
Dustin Carlino
06aa3e7cb3 woops, broke drawing agents in intersections in 3501c0ab4f 2019-05-11 16:14:45 -07:00
Dustin Carlino
9b848c894a better selection polygons for polyline-based things 2019-05-11 16:03:39 -07:00
Dustin Carlino
2454704b6b better selection polygons... at least for intersections and buildings 2019-05-11 15:12:12 -07:00
Dustin Carlino
5c9086a829 controls to naively flip stop signs on/off 2019-05-11 14:53:17 -07:00
Dustin Carlino
ca23950097 base RoadWithStopSign enabledness on turn priorities 2019-05-11 14:46:45 -07:00
Dustin Carlino
6b218fb5ab base stop sign lines on lanes on RoadWithStopSign 2019-05-11 14:38:55 -07:00
Dustin Carlino
c70c83f22b move the StopSignGroup abstraction to map_model. write down some rules for how stop signs _should_ work... 2019-05-11 14:31:46 -07:00