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 12:44:11 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
ced8fe55a22fec5e2e19ffa9f454ffddd199ef42
raea
/
runtime
T
History
shinyobjectz
ced8fe55a2
Fold two new copies into shared readers: keyed_vec (a camera's up, a 2D part's quat) and the sprite Tiled flags
2026-11-08 04:58:41 -08:00
..
bake
raea dc579e418
2026-10-31 13:15:29 -07:00
bundle
The copies part of
#28
added are folded (dupes 297 -> 295): urls.rs takes the writer of a file's URL as a parameter instead of a test-only twin of raea_io_home::src, and the fixed-quantiser tests join io/soft/tests/quality.rs, sharing its frames of rings and its MP4 encode. tools/dupes.max goes down to exact=295
2026-11-07 18:00:09 -08:00
calls
FC0a: ui/text/font_atlas_debug passes (0.99966): bevy_text's glyph atlas in raea's TSX. raea/ui's FontAtlasSet.atlases(font, font_size, text) is the pages a Text of that text fills, made natively by bevy_text's own code (the fonts.atlases call, raea-sys-fonts atlas.rs: the text shaped in the face as bevy_text shapes it, each glyph its layout meets rasterized by swash and packed by add_glyph_to_atlas, 2 px padding, 512 px pages), each a PNG data: URL an ImageNode shows. The port grows the yellow FiraSans-Bold text every third frame from the example's ChaCha8Rng (rand's random::<u8>() as char: "a6Ò" and a control character by frame 10, drawn as .notdef in both) and shows the page beside it a frame after it's made: the atlas's packing, Ò's base and accent as two glyphs, matches Bevy's. The bar fails 7 of the 10 mutants; of the 3 it passes, the off-pixel probe catches the atlas size (1552 against 680) and its top (1353), and a probe of the text's fully yellow pixels its colour (0 against 1680); the tenth (dropping the repeat check) draws the same three characters by frame 10. runtime/calls tests/fonts.rs (atlases: one page, a glyph met twice packed once).
2026-11-08 00:35:23 -08:00
dom
T6c: Rune layers in a Blitz page: what's under data-raea-renderer="rune" (sdk/rune's <RuneLayer>) is drawn by Rune on Bevy's device and shown in its slot
2026-11-07 15:20:38 -08:00
edit
raea e699cf684509a8bbada118cc302c56e99065a680
2026-11-05 17:19:37 -08:00
encode
An HTML page's files load on Windows (
fixes
#40
,
fixes
#41
,
fixes
#42
). The HTML runtime was handed the page's folder as Windows wrote it: canonicalized to a verbatim \\?\D:\ path (
#40
), or as D:/..., which a URL reads as scheme d (
#41
). The cached Google Fonts face came back from html.read as C:\... (
#42
). Its backslashes became CSS escapes in url(), and the drive a URL scheme in src. Now the folder is canonicalized without the verbatim prefix (raea_io_home::plain), and the runtime gets every path in URL form: raea_io_home::url_path, /D:/work/page on Windows, which the page's file:/// base joins into file:///D:/work/page. That covers the page folder, the font folder and html.read's answers. What the runtime names back (html.read's urls, a video's file, a sound's src) is read through from_url_path. Nothing changes on Unix, where both are the path itself. io/home's test checks the forms on any system, and joins them to file:/// as Blitz does: the result is a file URL, not scheme d
2026-11-08 01:40:12 -08:00
export
FC0a: 3d/transparency_3d passes (0.998646 at frame 10): the 3D under the page is composited as premultiplied
2026-11-08 02:50:25 -08:00
gpuframe
raea dc579e418
2026-10-31 13:15:29 -07:00
input
raea dc579e418
2026-10-31 13:15:29 -07:00
js
An HTML page's files load on Windows (
fixes
#40
,
fixes
#41
,
fixes
#42
). The HTML runtime was handed the page's folder as Windows wrote it: canonicalized to a verbatim \\?\D:\ path (
#40
), or as D:/..., which a URL reads as scheme d (
#41
). The cached Google Fonts face came back from html.read as C:\... (
#42
). Its backslashes became CSS escapes in url(), and the drive a URL scheme in src. Now the folder is canonicalized without the verbatim prefix (raea_io_home::plain), and the runtime gets every path in URL form: raea_io_home::url_path, /D:/work/page on Windows, which the page's file:/// base joins into file:///D:/work/page. That covers the page folder, the font folder and html.read's answers. What the runtime names back (html.read's urls, a video's file, a sound's src) is read through from_url_path. Nothing changes on Unix, where both are the path itself. io/home's test checks the forms on any system, and joins them to file:/// as Blitz does: the result is a file URL, not scheme d
2026-11-08 01:40:12 -08:00
jsengine
raea dc579e418
2026-10-31 13:15:29 -07:00
live
FC0a: ui/widgets/standard_widgets under scripted input: the menu opens, its popup placed by Bevy's Popover
2026-11-08 02:24:37 -08:00
look
Fold two new copies into shared readers: keyed_vec (a camera's up, a 2D part's quat) and the sprite Tiled flags
2026-11-08 04:58:41 -08:00
page
FC0a: ui/widgets/standard_widgets under scripted input: the menu opens, its popup placed by Bevy's Popover
2026-11-08 02:24:37 -08:00
plugins
A material: row sets only the fields it gives on the part's own StandardMaterial, the rest as they were (part of
#38
). patch_material deserialized the given fields as a whole StandardMaterial, every field it wasn't given at its default, and applied all of them. So material-field's patch of emissive_exposure_weight also blacked out the cube's emissive and turned its black base white. On frame 0 the scene sync put the row's colours back. From frame 1 on, a render leaves an unchanged mesh alone (StillSynced), so the program route drew the cube grey (red 49) at a weight of 0.14, in stills too. Live play re-synced every frame, which hid it, and so the two routes differed on 29 of 30 frames. Each given field is now deserialized by its own type and applied to that field alone. An unknown field is refused by name.
2026-11-07 23:06:11 -08:00
react
raea is developed here now (public-first)
2026-11-07 13:36:50 -08:00
scene
Split crates back under 2000 lines: raea-sys-mesh and raea-runtime-scene2d
2026-11-08 04:52:35 -08:00
scene2d
Fold two new copies into shared readers: keyed_vec (a camera's up, a 2D part's quat) and the sprite Tiled flags
2026-11-08 04:58:41 -08:00
scene3d
A 3D render draws the same pixels every time it runs (
closes
#48
). Two renders of sdk/react/bench/games/room3d with one binary differed in 147 (RAEA_3D=program) to 369 (the live route) of their 7200 frames, by one pixel a frame: a single MSAA sample where a wall's foot meets the floor. There the two surfaces tie in depth, and the draw order decides the tie. Within a Bevy multidraw batch set, draws go in the order their bins were added, with removed bins swap-removed. await_models ran full updates while glTFs loaded, so the render world binned each mesh at the update its load landed on, and the trees' meshes joined at a different update each run. Bisected: without <Outside> (the glTF garden) 0 of 30 stills differ; with the trees alone they differ. Waiting for the GPU each frame (RAEA_SERIAL), the single-threaded executor and RGBA readback all still differ.
2026-11-08 03:16:35 -08:00
shared
raea dc579e418
2026-10-31 13:15:29 -07:00
sound
raea e699cf684509a8bbada118cc302c56e99065a680
2026-11-05 17:19:37 -08:00
twins
raea dc579e418
2026-10-31 13:15:29 -07:00
view
#32
: an HTML page renders to PNGs, a folder (-o DIR, one frame-NNNNN.png a frame) or one still (-o OUT.png: frame 0, or the one --at names), and --alpha gives them a transparent canvas, as a TSX composition's do. The direct path wrote only video or hashes, so -o frames wrote an MP4 named frames, failed with "Is a directory" when the folder was there, and --alpha couldn't apply.
2026-11-07 17:56:27 -08:00