Dustin Carlino
|
2a70efde5f
|
simplify: slice can fail. all the callers dont have to check for EPSILON_DIST
(also, disable not-so-useful geom unit tests that use randomness)
|
2019-01-29 18:53:04 -08:00 |
|
Dustin Carlino
|
a98383db8f
|
dealt with cases where a pair of intersections has two roads between them
|
2019-01-29 15:34:53 -08:00 |
|
Dustin Carlino
|
103a4ca053
|
ensuring no tiny Lines exist in most cases
|
2019-01-29 13:23:54 -08:00 |
|
Dustin Carlino
|
7495d29288
|
handle a case when drawing shared sidewalk corners
|
2019-01-28 23:57:39 -08:00 |
|
Dustin Carlino
|
2e982ec827
|
making an infinite line type, to be less confusing
|
2019-01-28 18:28:05 -08:00 |
|
Dustin Carlino
|
f2d8e77759
|
figured out the source of a weird polyline bug, adding checks to avoid
it in the future
|
2019-01-26 16:27:11 -08:00 |
|
Dustin Carlino
|
c58113d631
|
port the simpler intersection merging to InitialMap-world. try the
geometry restoration... wait, need more stuff first
|
2019-01-26 14:59:18 -08:00 |
|
Dustin Carlino
|
ab6796d56c
|
make intersection actually be a polygon now
|
2019-01-26 13:31:29 -08:00 |
|
Dustin Carlino
|
5ca066a7df
|
dont even draw parcels by default
|
2019-01-26 10:58:08 -08:00 |
|
Dustin Carlino
|
476a4346e8
|
disable slow and unused startup step, and add more timing in DrawMap
|
2019-01-26 10:39:43 -08:00 |
|
Dustin Carlino
|
2a59f90abb
|
do basic polygon batching for cars
|
2019-01-25 14:23:39 -08:00 |
|
Dustin Carlino
|
a999cdd57b
|
prerender intersection stuff too
|
2019-01-25 12:10:30 -08:00 |
|
Dustin Carlino
|
9cd2795329
|
prerender lane polygons for MASSIVE win
|
2019-01-25 11:24:43 -08:00 |
|
Dustin Carlino
|
8afe83162b
|
collapsing all lane markings into a single Drawable
|
2019-01-25 11:21:46 -08:00 |
|
Dustin Carlino
|
f59879011d
|
prerender buildings and parcels
|
2019-01-25 10:50:40 -08:00 |
|
Dustin Carlino
|
25bc02fb32
|
using prerender for lanes... a good start.
|
2019-01-25 10:38:40 -08:00 |
|
Dustin Carlino
|
623e578665
|
inverting the ezgui/GUI control to plumb Prerender
|
2019-01-25 10:19:58 -08:00 |
|
Dustin Carlino
|
6af551bc95
|
plumbing colorscheme early to support prerendering in DrawMap construction...
|
2019-01-25 09:46:19 -08:00 |
|
Dustin Carlino
|
b21852875e
|
batch lots more easy things... down from 760 calls for a scene to 158
|
2019-01-25 08:39:45 -08:00 |
|
Dustin Carlino
|
a065c63ad7
|
batching sidewalk lines. fix the very silly batching bug
|
2019-01-25 08:10:09 -08:00 |
|
Dustin Carlino
|
9ac0674e62
|
stop rounding yellow center lines. the roundness gets cut off by the intersection anyway.
|
2019-01-24 18:14:35 -08:00 |
|
Dustin Carlino
|
c7eaa2cf55
|
exposing some basic drawing performance stats...
|
2019-01-24 16:21:56 -08:00 |
|
Dustin Carlino
|
237a19b6ec
|
appease the clippy
|
2019-01-24 16:17:22 -08:00 |
|
Dustin Carlino
|
559d568acd
|
make Polygon store points and indices. don't use this fact for rendering
just yet.
|
2019-01-24 15:13:27 -08:00 |
|
Dustin Carlino
|
9182a57af5
|
enabling draw_arrow again... math is not quite great
|
2019-01-24 10:01:30 -08:00 |
|
Dustin Carlino
|
8d270574ec
|
revamping fork math
|
2019-01-23 17:27:34 -08:00 |
|
Dustin Carlino
|
a25f358295
|
hacking around top menu issue mostly
|
2019-01-23 16:19:32 -08:00 |
|
Dustin Carlino
|
f1b81456a6
|
calculating line height from the font
|
2019-01-23 14:02:43 -08:00 |
|
Dustin Carlino
|
9c94e2f374
|
simplify text API and storage to have one bg color per line
|
2019-01-23 13:38:24 -08:00 |
|
Dustin Carlino
|
9b14206be0
|
implementing GfxCtx forking... aka, reset uniforms
|
2019-01-23 12:22:26 -08:00 |
|
Dustin Carlino
|
fb7a809892
|
tweaked camera based on canvas. workable, not great.
|
2019-01-22 17:12:48 -08:00 |
|
Dustin Carlino
|
08db3bf27f
|
rendering traffic signal diagrams with lights per lane... needs work, so
disabling it
|
2019-01-22 11:58:56 -08:00 |
|
Dustin Carlino
|
6dee096a0e
|
zorder for cars/peds too... had to rework get_objects_onscreen
|
2019-01-21 14:51:57 -08:00 |
|
Dustin Carlino
|
1e7b8f2dfc
|
end interactive trips at border nodes
|
2019-01-21 13:53:24 -08:00 |
|
Dustin Carlino
|
a129adeaa1
|
refactoring spawning plugin so far
|
2019-01-21 12:43:35 -08:00 |
|
Dustin Carlino
|
c87c7b32ae
|
make interactive driving trips still end at a building
|
2019-01-21 12:21:26 -08:00 |
|
Dustin Carlino
|
4b42f70da4
|
actually spawning walking trips...
|
2019-01-21 11:59:59 -08:00 |
|
Dustin Carlino
|
0d297b9dac
|
let mouseover happen at low zoom for the agent spawner plugin
|
2019-01-21 11:47:44 -08:00 |
|
Dustin Carlino
|
f58f8a7ef1
|
make single spawn work from bldg to bldg or driving lane to driving lane
|
2019-01-21 11:34:22 -08:00 |
|
Dustin Carlino
|
998c27ddff
|
starting a plugin to interactively spawn specific agents
|
2019-01-20 19:31:07 -08:00 |
|
Dustin Carlino
|
11045fd44f
|
zorder for lanes and intersections
|
2019-01-20 14:15:50 -08:00 |
|
Dustin Carlino
|
f018158aa3
|
remove copyright comment from remaining files
|
2019-01-20 13:57:55 -08:00 |
|
Dustin Carlino
|
ae6438e8b7
|
show sidewalk corners when zoomed out
|
2019-01-19 21:19:49 -08:00 |
|
Dustin Carlino
|
4ca6571e2f
|
warp by stable intersection ID
|
2019-01-19 21:10:54 -08:00 |
|
Dustin Carlino
|
fad89ddffa
|
include more pts in the intersection polygon to only cover area from the original road bands. also fix a bug deduping points in the polygon.
|
2019-01-19 20:56:03 -08:00 |
|
Dustin Carlino
|
e403a6388d
|
a much simpler, general approach for intersection polygons. needs a
little work, but it replaces lots of other code.
disabled, but adding a few more cases to the list of manually merged short roads
|
2019-01-19 19:07:07 -08:00 |
|
Dustin Carlino
|
0c32faa40c
|
moving neighborhood to map_model crate, so convert_osm can stop depending on sim
|
2019-01-17 15:29:00 -08:00 |
|
Dustin Carlino
|
63c24ce5a7
|
improve robustness of image diffing script, even when intersection IDs change
|
2019-01-17 14:29:31 -08:00 |
|
Dustin Carlino
|
761008b3ac
|
make raw roads directly refer to intersections
|
2019-01-17 11:30:58 -08:00 |
|
Dustin Carlino
|
3422877d3d
|
adding a stable ID for raw roads and intersections. way easier to refer to things in the midst of deletions.
|
2019-01-17 11:10:05 -08:00 |
|