Repository navigation
Roads without steps in new worlds: bends, forks, bridge decks, tracks, snow, pixel-line markings - #464
Conversation
…road's profile, ramps under snow, pixel-line markings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
⏱ Performance: this PR against mainScenarios of src/game/98_perf.js, the two builds by turns on one runner (tools/perf.mjs, CPU side, draws counted not drawn). ❌ Slower than main in 7 gating metric(s)
Over budget (ms/frame, budget): drive Land.lightTick 9.99 > 1 · drive Land.gen 3.03 > 0 · flight Land.gen 0.90 > 0 · drive Land.meshChunk 1.88 > 1 · tunnel Land.lightTick 1.56 > 1 · tunnel Land.gen 0.23 > 0 · tunnel Land.meshChunk 1.13 > 1 · idle Land.gen 0.03 > 0 Generated by Claude Code |
…the line; golden worlds for gw 64 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
…ad left it at 67) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
…n a whole cell; no pits at bridge ends; deck.test Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
…ecome gw 71, build 468; drive.known lowered to 291 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
|
On the perf comment (drive: miss 0.14 → 0.22): rerun here as an A/B of main against this head, Generated by Claude Code |
…ps move to gw 77, build 482 - The gates of this branch (bends by bisectors, forks, bridge decks as ramps, track grass strip, ramps under snow, pixel-line markings) are one generator version, gw 77; SHAPE_GW and the other gates under the floor are gone with main's floor. - Golden worlds of this branch pinned to gh 9 / gl 9 / gw 77; old hashes unchanged (1068 checks). - Notes and release shots renumbered to 482 (tools/shots/482.mjs finds its bridges by rise instead of fixed road keys). - 34_settle.js: estate lanes no longer read the removed STR flag (same two lines as in the estate fix of PR #509), without it towns with an estate threw during generation and drive.test could not run. Checked on the merged tree: shape, deck (26 deck steps, 107 track steps), ramp, till snow, golden. drive.test per seed against the same build at gw 72: 56 / 50 / 66 / 46 runs with faults against 122 / 67 / 103 / 145 (seed 5150 town+river does not finish loading on main 481 either: Rail.reachW under Rail.make). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
…s move to 486 Generator gates stay at gw 77. Checked on the merged tree: undef, genv, dupkeys, quotes, golden (1068 checks), shape, deck (26 deck steps, 107 track steps), ramp, till snow. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
|
The
The flagged metrics differ on every run of the bot (drive Generated by Claude Code |
Requested by Anton · project thread
Steps were still reported on roads: in an old world (build 434), on bends, on bridge decks (asphalt and planks) and on tracks. Ramps (build 435, gw 58) only appear in new worlds; a scan of new worlds found what ramps could not take, and this PR fixes it in the generator (gw 77, old worlds unchanged):
Span.along). On the inner side of a bend, the nearest point of the road line jumps from one segment to the next across the bisector. On a wide road that climbs, the height jumped with it, by up to 1.3 cells across the lanes. Now each segment owns the strip between the bisectors of its ends, so the height runs on without a jump. Next to a bridge the nearest segment is kept, so the land under the ends of a deck does not open into pits.Span.sib). A track that leaves a road at a shallow fork was held at one flat height for as long as it lay across the road, while the road climbed on under it, leaving a step of up to 3.8 cells. Now the lesser road takes the greater road's heights where it lies on it. Roads that only touch, or have less than 8 cells of verge between their asphalts, count too.Span.ramp,SPD_GW). A deck was whole cells: a step of a cell every few cells wherever the road rises, whatever the surface (asphalt, planks). Now the top of the deck is a shaped block, with corners from the heights of the same deck in the next cells, as for a road on the land.tools/deck.test.mjs: on the 20 rising bridges within 2500 cells of the home of seed 20261129, steps of more than half a cell along the decks: 1553 → 26. The rest are where the land comes up to a low deck or the snow of a road meets a bare deck.SHSNOW_GW). A road under snow kept whole cells, so winter worlds had no ramps. This is also whyramp.testlink went red on main: the in-game winter put snow on the link road.Roads.surfwithRoads.px), on the land and on decks. Lines are half-open bands of whole rows of cells across the road, so each row has the same number of line cells. On a bend a line is one cell wide and the median has one width; before, a line was one or two cells and the median 9 or 11.ramp.test: a banked bend that climbs (the slope runs diagonally over the cells). It checks for steps along the bend and across it.drive.test: fewer runs with faults over bridges and interchanges. Per seed on the merged build against the same build at gw 72: 56 / 50 / 66 / 46 against 122 / 67 / 103 / 145. The ceiling intools/drive.known.jsonis lowered from 569 to 291 (counted before the merge with build 481). The default run cannot finish on main 481 at the moment: seed 5150 (town + river) does not load, the railway planner loops inRail.reachWunderRail.make; not part of this PR.34_settle.js): two lines that still read a flag removed by the version floor, the same change as in A worker for phones (generator phase 2); towns with an estate plan again #509, so that towns with an estate generate and the tests run.Not in this PR (handed to the driving and physics threads): a taxi that turns round on a narrow truss deck and ends up inside the girders, and the router calling a stepped deck impassable.
Screenshots come from
tools/shots/486.mjsin the release.https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
Generated by Claude Code