Commit Graph

1637 Commits

Author SHA1 Message Date
Dustin Carlino
5830908604 version control checksums of screencaps for all maps... well,
still not small_seattle. :P
2019-02-17 14:27:48 -08:00
Dustin Carlino
ad16247695 active agents per road in unzoomed mode 2019-02-16 17:55:02 -08:00
Dustin Carlino
2578219610 skip spawning vehicles when they wont fit in the requested spot. improve
some error messages related to spawning and add a timer for an
apparently very slow step
2019-02-16 11:51:42 -08:00
Dustin Carlino
c388d1f772 disabled DES quadratic distance... but some other improvements 2019-02-15 14:57:50 -08:00
Dustin Carlino
cee4c8750e spawn a few more cars when there's room 2019-02-15 13:15:17 -08:00
Dustin Carlino
8aee575056 make follower proceed to end of lane after following. and classify
intervals for easier reading.
2019-02-15 13:05:53 -08:00
Dustin Carlino
6b0a70268c clean up some interval epsilon stuff a bit 2019-02-15 12:55:36 -08:00
Dustin Carlino
cb6595574d make basic car following work on short lane. has epsilon hacks kind of
spread around, but seems solid.
2019-02-15 12:24:27 -08:00
Dustin Carlino
5a350f5ec2 DES cars cross short roads correctly! 2019-02-15 11:26:31 -08:00
Dustin Carlino
ab5fa6025e slight optimization to DrawBuilding 2019-02-15 09:06:48 -08:00
Dustin Carlino
a52bea9835 some steps to closing off incomplete areas better... mostly stuff to
quickly iterate on this problem later
2019-02-15 09:03:02 -08:00
Dustin Carlino
0c81234b56 script to reimport and reprecompute a single map. add golf course areas. 2019-02-14 19:05:29 -08:00
Dustin Carlino
b366a2dccd mouseover areas by flag 2019-02-14 18:42:24 -08:00
Dustin Carlino
134756fb22 simplify DrawLane a bit 2019-02-14 18:29:36 -08:00
Dustin Carlino
1fb3739c71 remove unnecessary flags; buildings and areas are always fast to draw now 2019-02-14 17:57:15 -08:00
Dustin Carlino
7fb9f721e1 store Area as a Polygon natively in Map 2019-02-14 17:35:34 -08:00
Dustin Carlino
cfe9a8d662 dont redraw stuff that gets drawn anyway in the big batch 2019-02-14 17:27:41 -08:00
Dustin Carlino
f37415bfaa fundamentally different behavior when zoomed in vs not 2019-02-14 17:14:01 -08:00
Dustin Carlino
65307e66f5 batch all parcels too 2019-02-14 16:56:33 -08:00
Dustin Carlino
e445f972dd move ToggleableLayers out of ezgui, stop associating a zoom with them 2019-02-14 16:51:27 -08:00
Dustin Carlino
c3cbd47645 organize DES model code a bit 2019-02-14 14:00:44 -08:00
Dustin Carlino
06c8ed72a9 flag-based profiling of GUI 2019-02-14 13:16:43 -08:00
Dustin Carlino
ee16c864c5 batch layers of stuff together to reduce draw calls. helps performance
MASSIVELY when zoomed out.
2019-02-14 12:37:33 -08:00
Dustin Carlino
b40770edae adjust clipping instead of leaving stuff in sometimes 2019-02-12 15:56:23 -08:00
Dustin Carlino
a2e2c3311e drawing border arrows way better 2019-02-12 14:42:03 -08:00
Dustin Carlino
adcf5ca2a8 tune min zoom levels a bit 2019-02-12 13:09:36 -08:00
Dustin Carlino
f91fbb67d6 remove duplicated polygon from DrawBuilding by passing in map 2019-02-12 12:37:29 -08:00
Dustin Carlino
b8eec25116 store Polygon in Building natively 2019-02-12 12:28:12 -08:00
Dustin Carlino
21ddbc2ecc very primitive breakdown of where memory is going 2019-02-12 12:11:10 -08:00
Dustin Carlino
e8b80526ae making a separate DrawRoad. thick bands at low zoom, yellow center line at high zoom. 2019-02-12 09:16:33 -08:00
Dustin Carlino
9ea7493483 handle border nodes being bidirectional. also only assign borders during
convert_osm. still disabled... am confused. some hacks to make things
work in the meantime.
2019-02-11 23:25:39 -08:00
Dustin Carlino
4dd7dabde5 display boundary polygon, actually 2019-02-11 22:24:19 -08:00
Dustin Carlino
e68d6225c8 clipping roads based on original boundary polygons. buggy, so disabled. 2019-02-11 22:13:49 -08:00
Dustin Carlino
5d30a90810 draw border nodes with nice big arrows 2019-02-11 17:45:50 -08:00
Dustin Carlino
6da48c28c1 making small_seattle fully convert, with some less messy hacks. added it
as a test!
2019-02-11 16:13:29 -08:00
Dustin Carlino
a3b03952cf dont depend on sim in precompute crate 2019-02-11 15:53:48 -08:00
Dustin Carlino
e2de3e208c use FindClosest quadtree helper for residential bldg permit matching 2019-02-11 15:35:06 -08:00
Dustin Carlino
0a3f2676f0 more timer measurements for convert_osm, and make sure to erase
precomputed maps when re-converting a map
2019-02-11 14:22:05 -08:00
Dustin Carlino
6a573dfbd0 use better glium buffer types 2019-02-11 14:08:43 -08:00
Dustin Carlino
d655bdc588 pass color to GPU as u8, not f32 2019-02-11 13:52:17 -08:00
Dustin Carlino
ea3170a9a9 make more multipolygons work by dealing with closed ways 2019-02-11 13:08:18 -08:00
Dustin Carlino
72e823c2c6 only have one Prerender object constructed, simplifying the plumbing of the Cell counters 2019-02-11 12:14:43 -08:00
Dustin Carlino
1d3e4284a7 do some tracking of video memory used by RenderMap 2019-02-11 12:02:29 -08:00
Dustin Carlino
195d077c98 flags to disable drawing some expensive stuff, to make debugging small_seattle a bit easier 2019-02-11 11:31:25 -08:00
Dustin Carlino
8b6a863b60 print timer iterations and durations more legibly 2019-02-11 11:16:07 -08:00
Dustin Carlino
8693bbc1e3 import residential building dataset 2019-02-10 19:24:34 -08:00
Dustin Carlino
e186b24dac very primitive building type classification, with coloring 2019-02-10 17:38:46 -08:00
Dustin Carlino
606340e2db switch to bincode. almost half file size, reading small_seattle went
from 40s to 7s in debug mode!!!
2019-02-10 16:20:44 -08:00
Dustin Carlino
ec01207369 try upgrading rand and serde again 2019-02-10 15:57:28 -08:00
Dustin Carlino
51399e19ed organize convert_osm lib better. also make clippy build everything
again.
2019-02-10 15:52:21 -08:00