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 21:03:47 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
d44cd9c41bb1b08b8d3b6770f7ec32ea97c8b6da
raea
/
runtime
T
History
shinyobjectz
c202f3e590
runtime/scene's live groups public, as runtime/live's props read them
2026-11-17 19:52:34 -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
RT4: the realtime editing work so far
2026-11-17 19:52:34 -08:00
calls
WR4: raea wear bake and the native call wear.bake, on the weathering bake [WR1] [WR2] [WR3]
2026-11-17 19:52:34 -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
Windows: canonicalize goes through dunce and the home folder through user_home (all but five crates)
2026-11-17 10:38:33 -08:00
export
A 3D render can start with its 3D live (RAEA_3D_FIRST=1), in progress
2026-11-17 19:52:34 -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
Windows: canonicalize goes through dunce and the home folder through user_home (all but five crates)
2026-11-17 10:38:33 -08:00
jsengine
Windows: canonicalize goes through dunce and the home folder through user_home (all but five crates)
2026-11-17 10:38:33 -08:00
live
RT4: the realtime editing work so far
2026-11-17 19:52:34 -08:00
look
LT21: detail costs the live scene no more than JS levels. A part's detail is a component row, and the live diff's fast path refused any scene holding rows of another kind, so every frame of a scene with a detail took the full diff: on 1917 Berlin's 1440p walk, step 29.7 ms against 10.6 ms with the levels picked in JS. Now the fast path keeps component rows as last sent and goes the full way only on a frame where any part's components change (scene_sig: light_sig plus each part's components), and a component row whose part has gone counts its missing frames and is forgotten as the full path forgets it. RAEA_LIVE3D_CHECK agrees over 3,413 frames of a moving scene where a part with a detail goes and comes back and another's detail changes. raea-sys-lod's apply keeps each part's meshes, bounds and last eye, walks its meshes again only when a mesh is added or its Detail changes, moves edge ranges by whole metres and rewrites a part only once the eye has moved a third of its way to the nearest fading band, since Bevy rebuilds its whole range table on any changed VisibilityRange. RAEA_LOD_DEBUG=time prints apply's time a frame. Walk at 1440p, JS levels then detail: step 10.6 / 11.8 ms, work p50 48.2 / 50.0, p99 100.5 / 87.1; fly: step 4.9 / 6.2, work p50 44.6 / 42.2, p99 139.7 / 125.0.
2026-11-17 19:52:34 -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
runtime/scene's live groups public, as runtime/live's props read them
2026-11-17 19:52:34 -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
FC1a: an <Instances>' copies move to raea-sys-copies (systems/copies)
2026-11-17 19:52:34 -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
Windows: canonicalize goes through dunce and the home folder through user_home (all but five crates)
2026-11-17 10:38:33 -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
wear
WR4: the weathering bake's copied code folded (tools/dupes.sh)
2026-11-17 19:52:34 -08:00
world
Windows: canonicalize goes through dunce and the home folder through user_home (all but five crates)
2026-11-17 10:38:33 -08:00