This website requires JavaScript.
Explore
Help
Sign In
shinyobjectz
/
raea
Watch
1
Star
0
Fork
0
mirror of
https://github.com/shinyobjectz/raea.git
synced
2026-12-01 06:53:19 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
v0.1.6
raea
/
runtime
T
History
shinyobjectz
b593ebb070
A render's progress folder: the home found with a match, not a closure shaped like io/home's LOCALAPPDATA one (the dupes ratchet's 60th near group); same paths, RAEA_RENDERS=off still writes none
2026-11-16 17:41:16 -08:00
..
appscreen
H12: app::bundle takes the props its default export is mounted with (WINDOW, SCREEN) in place of two one-line forwarders; the app screens' log read through screen::logged (no new duplicate groups: 292 exact, 59 near)
2026-11-16 06:43:49 -08:00
bake
#158
: a render can't wait forever on a frame its runtime lost. Ragul's long 4K renders hung before their first frame about half the time on 0.1.4 (2 of 6 on 0.1.2): the main thread waiting in settle's wait_flush, the JS thread idle, no output, no exit. Settle's no-progress guard took any JS time anywhere as progress, and the JS thread ticks its timer queue every 500 ms even when it's empty, so a frame that would never come was waited on for good; it also read every runtime's flushes, and a render's 3D rows run three runtimes.
2026-11-15 05:08:52 -08:00
bundle
H12: app::bundle takes the props its default export is mounted with (WINDOW, SCREEN) in place of two one-line forwarders; the app screens' log read through screen::logged (no new duplicate groups: 292 exact, 59 near)
2026-11-16 06:43:49 -08:00
calls
HG16: in progress: a SOMA body's twist joints set on any pose (raea-sys-body with_twists, native call character.twists, raea/character withTwists), so a clip or a solver that turns the named joints only draws with the limbs' twist spread. The body library's captures, moved to SOMA joint for joint, play on SOMA's body through it
2026-11-15 05:33:25 -08:00
canvas
LR6, LR7: the canvas's text natives (measure, advances, svgText) are each a function of the fonts (raea_sys_canvas::TextNative), registered from one table and given the page's fonts by with_page_fonts, instead of three wrappers that did it alike; canvas.read's rectangle and svgText's tracking read without closures that copied raea-runtime-sound's (dupes back to 293/59)
2026-11-12 16:26:53 -08:00
cssurls
LR3: a composition's refs have the geometry a web component reads, from the page that draws the frame: getBoundingClientRect (a DOMRect, transforms included), getClientRects, offset* and offsetParent (untransformed, whole px, from the positioned ancestor's padding edge), client* and scroll*, each as Chrome answers it. bevy-react 0.8.1 gets a patch (sdk/react/js/patches, applied by bun install) that makes its instances a tree, BevyElement and BevyTextNode with their parent, children and committed props; sdk/raea's dom-reads puts the reads on BevyElement from the entry.
#54
's repro now puts "here" where Chrome does (x 342, was 0), and probes/geometry.tsx prints every read and matches Chrome's words. The bundle crate's stylesheet url() rewriter moves to raea-runtime-cssurls to leave it under 2000 lines
2026-11-12 14:18:19 -08:00
dom
RT3: a seek while a film plays shows nothing from where it was, and the sound clock moves on between its callbacks and never goes back
2026-11-16 17:29:57 -08:00
edit
raea e699cf684509a8bbada118cc302c56e99065a680
2026-11-05 17:19:37 -08:00
encode
A render's progress folder: the home found with a match, not a closure shaped like io/home's LOCALAPPDATA one (the dupes ratchet's 60th near group); same paths, RAEA_RENDERS=off still writes none
2026-11-16 17:41:16 -08:00
export
H12: what reached an app screen in a play is logged and rendered again; exported games bundle app screens as apps
2026-11-16 06:43:49 -08:00
gpuframe
RR1: every look changes per frame. Each frame's post-processing is its own (runtime/look post.rs), and a set that changes goes in a per-frame table (frame_sets) laid onto the camera's row frame by frame; the camera takes a group off and puts it on again when its columns change (raea-sys-post camera.rs, moved out of raea-runtime-scene3d; volumetric fog's group is raea-sys-fog-half's, which raea-runtime-scene3d hands to it, as a system can't use another sideways). Each light's colour, shadows and shafts change the same way. A draw across a cut (a sky, AO, anti-aliasing, a tonemapper, shadows or volumetric fog coming or going) warms up 8 updates as a load does, so the sky's light is there on a cut's first frame; a ramp is no cut. Play builds its rows the same way: a row with a table is never still (a play's first frame has its sky), depth of field comes and goes with the frames that have one, the page background is keyed, and a seek back that makes a new engine sets play's rows on it again. bench/rerender/rr1.sh: the film as one composition equals its six shot renders 900/900; a 60-frame grade, bloom and fog ramp equals 60 stills 60/60 at SSIM 1.000000; play draws the looks as the render does at 12 seeks and 2 seeks back (the HTML caption over the 3D still differs by up to 2 levels at its edges, as before RR1). The supersample downsample moves to raea-runtime-gpuframe, and light_sig and pass_column to raea-runtime-look, keeping raea-render and raea-runtime-scene under 2,000 lines.
2026-11-10 14:03:56 -08:00
input
raea dc579e418
2026-10-31 13:15:29 -07:00
js
RT3: the decoder's tests in a file of their own
2026-11-16 17:29:57 -08:00
jsengine
A page's JS engine gives its free pages back every 5 s, and with RAEA_INSPECT its heap is logged and JavaScriptCore's context inspectable
2026-11-16 16:29:45 -08:00
live
H12: app::bundle takes the props its default export is mounted with (WINDOW, SCREEN) in place of two one-line forwarders; the app screens' log read through screen::logged (no new duplicate groups: 292 exact, 59 near)
2026-11-16 06:43:49 -08:00
look
#165
: an <R3F> scene lit by PMREMGenerator.fromScene(new RoomEnvironment(), sigma) is lit by that room, as three lights it. Since
#131
, fromScene handed back a stand-in that raea left out with a warning, because raea's <Environment> and its engine took panorama files only: the scene was drawn with no environment, so a box three draws 255,195,160 on its front face came out 136,76,58, and anything the room alone lights was near black. <Environment> now takes
room
(three.js's RoomEnvironment, made with no file) and
blur
(fromScene's sigma) in place of
src
. The engine makes the room itself (raea-sys-environment room.rs): RoomEnvironment's room, boxes, light boxes and point light at three r185's sizes and strengths, each direction from fromScene's cube camera traced to what it hits and shaded with three's Lambert, GGX and light falloff, blurred by sigma as fromScene's two half blurs do, then filtered like any panorama; runtime/look names it in env_srcs as room:SIGMA. On the R3F side, fromScene of a RoomEnvironment returns a texture marked with its sigma, which lights.ts turns into <Environment room blur> with the scene's environmentIntensity and rotation, and as the background when the room is that too; fromScene of any other scene, and fromCubemap, are still left out with a warning. The other way round, src/three (room.ts) draws <Environment room> as RoomEnvironment through the renderer's PMREMGenerator, and the source export writes it so. Tests: room.rs checks the room's light at 14 directions against three's own RoomEnvironment object (within 1e-3), the blur and the source name; runtime/look's camera test reads room sources into env_srcs; the envmap conformance test and test/errors.test.tsx hold the props and the conversion, and export.test.tsx the export. test/room/check.sh renders test/room/room.tsx and holds three pixels within 8 levels of three's, which test/room/three.ts works out on the CPU with three 0.185's PMREM and MeshStandardMaterial shading:
#131
's box face is 255,189,155 (three 255,195,160; 136,76,58 before), and two grey boxes lit by the room alone are 137 and 125 (three 140 and 127; 23 and 19 before). Left open: fromScene's options.position is drawn from the origin, with a warning, and the light meter does not count a room. Filed as R3F15b in docs/r3f.feature.
2026-11-16 17:29:56 -08:00
page
H12: app::bundle takes the props its default export is mounted with (WINDOW, SCREEN) in place of two one-line forwarders; the app screens' log read through screen::logged (no new duplicate groups: 292 exact, 59 near)
2026-11-16 06:43:49 -08:00
pagestore
LR1: room for the layout reads in crates at their 2000-line limit. Matchmove (raea track, matchmove.solve) moves out of raea-runtime-react into raea-runtime-track, which react re-exports as scene::track; the frame pages' asset writer (store_page, store_clear, the writer pool) moves out of raea-runtime-export into raea-runtime-pagestore. page-layout installs itself on import, so the entry adds one line. A pass with no page answers NOTHING_DRAWN, and wait_flush takes the runtime's ask. page-layout and dom-reads are installed by the entry, so the manual's and the skill's references skip them as they skip canvas2d
2026-11-12 14:09:19 -08:00
plugins
#162
: a load with nothing to step has a pure plugin clock: Time (Time<Virtual> too, which the fixed loop copies back) and the keyed rows are the frame drawn's, f / fps, however it was reached. Since
#77
skipped the replay, the clock stepped only on the frame after the last stepped: every still sampled globals.time 0, and a batch's second frame drew the first's <Material> uniforms (keyed rows) and component rows. Measured on a face split into globals.time and a uniform from the frame, as seconds: before, lone 60 = 0 / 1.96, batch 30,90 = 0 / 0.97 and 0 / 0.97; after, lone 60 = 2.01 / 2.01, lone 90 = 3.01 / 3.01, batch = 1.00 / 1.00 and 3.01 / 3.01. A stepping clock is unchanged.
2026-11-15 20:33:14 -08:00
react
#158
: a render can't wait forever on a frame its runtime lost. Ragul's long 4K renders hung before their first frame about half the time on 0.1.4 (2 of 6 on 0.1.2): the main thread waiting in settle's wait_flush, the JS thread idle, no output, no exit. Settle's no-progress guard took any JS time anywhere as progress, and the JS thread ticks its timer queue every 500 ms even when it's empty, so a frame that would never come was waited on for good; it also read every runtime's flushes, and a render's 3D rows run three runtimes.
2026-11-15 05:08:52 -08:00
scene
R3F23c: a still with a camera into a render image steps every frame before it (runtime-scene carries_state), so what a pass drew lasts: a ping-pong's start drawn at frame 0 is there at frame 12
2026-11-15 13:36:59 -08:00
scene2d
Bevy's own Text2d inside a Canvas3D and TextureAtlasBuilder; Bevy parity for 2d/text2d (exact), 2d/texture_atlas and 2d/rotation
2026-11-08 21:27:59 -05:00
scene3d
R3F25 (part): three/webgpu's PostProcessing as raea's effects, an additive Bloom, a FramePass's frame() clamped to its Viewport
2026-11-15 13:21:02 -08:00
shared
#158
: a render can't wait forever on a frame its runtime lost. Ragul's long 4K renders hung before their first frame about half the time on 0.1.4 (2 of 6 on 0.1.2): the main thread waiting in settle's wait_flush, the JS thread idle, no output, no exit. Settle's no-progress guard took any JS time anywhere as progress, and the JS thread ticks its timer queue every 500 ms even when it's empty, so a frame that would never come was waited on for good; it also read every runtime's flushes, and a render's 3D rows run three runtimes.
2026-11-15 05:08:52 -08:00
shots
BL36, GD11: <BlenderShot> and <GodotShot>'s native calls move to a crate of their own, raea-runtime-shots (runtime/shots), which raea-runtime-react registers: in runtime/react they took that crate to 2,202 lines, over the 2,000 limit. No change in what they do; the size and length a shot is asked for are whole numbers of 1 or more and its fps a number over 0, each said by name when it isn't. Tests: a_shot_is_keyed_by_what_it_is_made_from and the command's
2026-11-11 09:50:19 -08:00
sound
A fresh raea init renders again: an <Audio> behind a condition isn't one the render must hear
2026-11-12 11:32:27 -08:00
track
LR1: room for the layout reads in crates at their 2000-line limit. Matchmove (raea track, matchmove.solve) moves out of raea-runtime-react into raea-runtime-track, which react re-exports as scene::track; the frame pages' asset writer (store_page, store_clear, the writer pool) moves out of raea-runtime-export into raea-runtime-pagestore. page-layout installs itself on import, so the entry adds one line. A pass with no page answers NOTHING_DRAWN, and wait_flush takes the runtime's ask. page-layout and dom-reads are installed by the entry, so the manual's and the skill's references skip them as they skip canvas2d
2026-11-12 14:09:19 -08:00
twins
TL13a: RAEA_TWIN_SYNC_LIGHT read once per twins pass, at its top, in place of a cached closure of its own (the closure was a near copy of material clay.rs's, a new dupes group); the same answer, one env read per event's sync
2026-11-14 07:19:28 -08:00
view
Direct render: the 2D image rows' Blitz page (a Bevy App) is made on its first draw, not with the view, so a render that never draws an image row makes none (
closes
#70
)
2026-11-09 08:46:40 -08:00
world
FP12a: patch heads say where in the frame a picture defect is. raea fingerprint bootstrap also puts FP0f's local defects in a random box of up to 6 frames a source (a blurred patch, a black hole, heavy grain, flat grey, a local glow; one that changes its box by under 6 levels is left out) and fits a logistic on SigLIP 2's 196 patch tokens per axis. Held out by source from 8 frames on 27 real renders: barren 0.92, glitch 0.90, blur 0.88 (0.79 before the visible rule), glow 0.49; an axis says where only at 0.85. score gives a flagged moment its place and the layers under it, by name (raea-sys-layers reads names); --json has at, the sheet boxes it in amber
2026-11-12 22:08:25 -08:00