2026-11-10 16:26:20 -08:00
..
2026-11-08 10:56:20 -08:00
2026-11-07 16:57:06 -08:00
A still of a 3D composition no plugin carries state for draws only its own frame, not every frame before it (#77). Every engine installs the plugin clock (some plugin is always registered), so catch_up rendered each frame before a still in full: render graph, shadow views and submit, about 90 ms a frame in a film, and --at 2448 took 226 s. The engine now steps through those frames only when the rows hold something a plugin carries from frame to frame (raea_runtime_plugins::steps): a component or resource of a type from outside Bevy's own scene and render crates and raea's (a rigid body, a particle effect, Bevy's animation, time or states; a short type name, which could be anyone's), a driven mesh, or a row kind not known to be frame-pure. Keyed component rows land on their frame however it is reached. The film's --at 2448: 226 s -> 20 s, pixel-identical; a physics still at frame 100 (avian) still steps all 100 frames. bench/at-cost checks that a frame-pure still steps none.
2026-11-09 11:18:41 -08:00
2026-11-07 22:41:07 -08:00
2026-11-08 21:27:59 -05:00
2026-11-07 13:36:50 -08:00
2026-11-08 10:54:18 -08:00
2026-11-08 12:00:17 -08:00
DR6: done. Each ask of a note is held by a check that must fail on the work as it stands before the work changes, or by a clip the person signs. An ask names its check (raea's by name or a .ts check by its path), its values, its composition (Ask.of; Rule.of runs a rule only there) and, where it can't be measured, proof { shot | frames, sign }. raea notes check runs the asks through raea check's run (apps/direction, lent by the CLI): a first run that passes is refused (exit 1), a failure is kept with its check and values in .raea/notes-checks.json, a check changed after it failed is to check again, and each finding's by is its ask, so two asks on one check are counted apart; raea check runs the notes' checks beside the rules. Each clip is cut with ffmpeg from the composition's newest render, never from one the composition changed after; the person's sign comes back from the app with the render's sha256 and is kept by raea notes take. An ask reads to check, failing, to sign, passing or signed (the agent's move until there is a clip of the work as it stands), the note its worst; raea notes ls says each and raea notes post sends the badge, each ask's state and each clip (raea show --status --states, --sign --clip --render). raea/check gains a per-rule memo, after, named, turned and inside; six worked checks ship in sdk/guides/craft/checks and in the skill as craft/checks (rides, flat-type, faces, stands-on, shot-length, no-part), with their pieces and cheats in bench/direction/asks (asks.sh: 35 cases as expected). A plain element that covers another is named by the component that drew it (runtime/world). Proved end to end in a copy of the raea app (1109.87): a note sent, taken, restated, failing, the work changed and passing, the clip signed in the page, --done refused, and the sign reopened by a changed composition. Tests: raea-core-facts 16, raea-app-notes 10, raea-app-direction 16, raea-runtime-world 15, engine/cli show.test.ts 5. The craft router says the order, and the manual's notes, show and raea/check pages say what's new. The worked checks' table moves "low poly" to DR14 and "the light at the cut" to DR19, each with why.
2026-11-10 15:34:46 -08:00
2026-11-07 17:46:28 -08:00
2026-11-10 14:13:17 -08:00
#33: a panic as a frame draws ends the render with an error naming the frame and the panic, and keeps the frames drawn before it. Each frame loop catches a panic in its drawing (raea_gpu_device::check::frame_caught, or around the pipelined engine's run, which names the newest frame sent) and returns it as an error, "raea panicked drawing frame N: <message>"; the panic hook still prints it and where it was, and the crash log keeps it. On that error, or any other mid-render, the direct path drains the frames in flight to the encoder, the fed path finishes the file without sound, the engine path finishes its encoder, and hashes so far are written, so the file holds every frame before N and the error says how many and where ("no frame was written" when none). Exit 1 now, not a panic's 101. RAEA_PANIC_FAULT=N (docs/settings.md) panics as frame N draws, for the check: bench/frame-panic/check.sh renders an HTML page to .mp4 and .txt, a 2D page to .mp4 and .txt, and a 3D scene to .mp4 and a PNG folder at RAEA_PANIC_FAULT=100, and each exits 1 naming frame 100 with exactly 100 frames kept; without the fault the same renders give all their frames. Speed, two builds of this tree with and without the change, five runs each alternating (the machine was busy: medians), to .mp4: a 2D page 427 fps before, 435 after; #20's HTML page 214 before, 235 after; a 3D scene 71.7 before, 71.5 after (a frame catch costs nothing until something panics).
2026-11-07 17:00:09 -08:00
2026-11-08 04:47:40 -08:00
2026-11-07 17:56:27 -08:00
#20: the same page renders to the same frames every time. Vello's fine stage (area antialiasing, what raea-page draws with) summed a tile's coverage in f32 in the order its segments arrived, and path_count hands out their slots with atomicAdd, so the order, and the sum's last bits, changed from run to run: a pixel now and then came out a level apart, so frame hashes and the export cache disagreed between renders. Each contribution is now summed as a fixed-point i32 (2^20 to the pixel), which no order changes, and made a float once. bench/html-repeat/check.sh renders #20's page 8 times to frame hashes and needs every run the same as the first: before, 6 of 7 runs differed (frames 161, 175, 269); after, all 8 match (and 12 of 12 in a longer run). Speed, two builds of this tree with and without the change, five runs each back to back, to frame hashes: the #23 bench page 154-194 fps before, 167-193 after (medians 193.2 and 191.8); #20's page 145-160 before, 154-160 after (medians 155.9 and 157.1). Ten pictures (eight parity cases and bench/rotated-paint's two) are pixel-identical before and after; only frames that fell on that rounding change, by a level.
2026-11-07 16:36:04 -08:00
2026-11-10 13:06:42 -08:00
2026-11-09 13:27:32 -08:00
2026-11-10 16:26:20 -08:00
2026-11-08 03:54:11 -08:00
2026-11-08 10:38:36 -08:00
2026-11-08 02:13:10 -08:00
2026-11-10 08:17:29 -08:00
2026-11-08 10:34:24 -08:00
2026-11-07 13:36:50 -08:00
2026-11-10 16:26:20 -08:00
2026-11-08 03:16:35 -08:00
#18: what an element paints at an offset of its own is placed in its own axes, so it turns with a rotated ancestor. blitz-paint added background-position, a background's tiles (image and gradient), box-shadow offsets (outer and inset), text-shadow offsets, the scroll offset, an inline SVG's and a custom widget's content-box origin after the element's transform (then_translate), in the page's axes; they now go before it (pre_translate), as an <img>'s already did. One image split across stacked divs by background-position stopped lining up under a -4deg parent, and an inset shadow's band came out uneven. The inset shadow's offset also takes the page's scale now, as the outer one's does. bench/rotated-paint/check.sh draws the same picture twice under -4deg (three background slices of one image and of one gradient, and a box shadow, against one div each and a box behind): 7,811 pixels differ by more than 10% on the raea before this, 37 after (the slices' antialiased seams); it passes at 200. Eight unrotated parity cases (background-image, background-shorthand, gradient-tiles, shadow, shadow-forms, overflow-scroll, repeating-gradient, conic-gradient) are pixel-identical before and after.
2026-11-07 16:22:49 -08:00
2026-11-07 13:36:50 -08:00
2026-11-08 02:15:24 -08:00
2026-11-10 13:16:55 -08:00
2026-11-08 03:20:57 -08:00
2026-11-08 02:07:51 -08:00
2026-11-07 13:36:50 -08:00
2026-11-08 12:54:48 -08:00
2026-11-07 13:36:50 -08:00
2026-11-07 13:36:50 -08:00