Commit Graph
16 Commits
Author SHA1 Message Date
shinyobjectz f8c16d2656 nobuild: the crates' sizes, layers, taxonomy and licences L1 checks
raea-sys-frame was past its 2,000 lines: the engine's own shaders move to their own crate, raea-sys-engine-shaders
(<ShaderConstants>' type is raea_sys_engine_shaders::consts::ShaderConstants), and the path tracer moves into
raea-sys-rt beside the traced passes that use it (<Pathtracer>'s type is raea_sys_rt::pathtracer::PathtracerSettings).
raea-render was past its limit too: the AOV prepasses and readback move into raea-sys-compose::aov, raea-render
keeps the plugin and its want/capture. raea-render-raytrace, raea-sys-fog, raea-runtime-export and raea-render name
the new paths; tools/layers.toml places raea-sys-gi and raea-sys-engine-shaders; tools/taxonomy.list has
ShaderConstants.

tools/licenses.sh measures raea-cli without the plugin catalog's edge (the catalog is its own feature), so NOTICE's
catalog and LICENSES/ drop 18 crates only the catalog's optional plugins reached; NOTICE's opening sentence still
covers every crate in Cargo.lock.
2026-11-22 09:15:58 -08:00
shinyobjectz 865e608857 Windows: raea.exe starts on a CPU without AVX (Goldmont, Nehalem)
rc11's raea.exe stopped before main on a processor without AVX (Intel's SDE as a Goldmont Celeron and as a Nehalem:
"Executed instruction not valid", vmovaps ymm at raea.exe+0x123b5d40). The instruction is in one of seven C++
dynamic initializers in the CRT's table: ctt-etcpak's ETC1 tables (Tables.cpp's g_table_SIMD and the rest, set with
_mm_setr_epi16, which MSVC initializes at run time), from the copy ctt builds with /arch:AVX2. ctt picks an ISA's
copy at run time for its encoders, but every copy's static initializers run at start, on every CPU. With those seven
skipped (a patched rc11), raea.exe --version runs under SDE as both chips.

ctt comes only from Bevy's compressed_image_saver feature (bevy_image's CompressedImageSaver, BC7/ASTC/ETC2 for
Bevy's asset processing), which raea never runs. It's out of the plugin catalog's Bevy features (0.19 and 0.20),
engine/bevy-plugins' generated `bevy` feature (tools/bevy-plugins.sh sync agrees) and engine/render's bevy-all, so
ctt's eight crates, fast_image_resize, ispc-build-utils and zstd leave the lock; NOTICE and LICENSES are
tools/licenses.sh's on main with the change. compressed_image_saver_universal (basis-universal) stays.
2026-11-19 15:27:47 -08:00
shinyobjectz b5425278b3 CH15c: Kimodo on this Mac. raea-sys-kimodo runs Kimodo-SOMA-RP-v1 and its LLM2Vec text encoder (Llama 3 8B Instruct in 8 bits) on MLX in Rust, with no Python and no cloud GPU; raea motion "LINE" [--keys KEYS.json] writes the clip sdk/body/tools/fromkimodo.ts reads
Checked against the PyTorch reference (tests.rs, fixtures in ~/.cache/raea-kimodo/mlx/ref/rust):
- the denoiser within 2e-3 on its features (two batches, padding, constraints, headings);
- a whole 100-step generation from the same noise and text within 0.002 cm at worst on the 77 joints;
- constraints become the same conditions (mask equal, values within 1e-4);
- the 8-bit encoder at cosine 1.000000 to the Python MLX 8-bit run and 0.999929 to float32 (over eight lines, the motion's joints move 0.01 to 0.74 cm on average and 1.44 cm at worst, against float32 text).

Kimodo's post-processing (its C++ foot-skate and constraint clean-up) is not ported: clips are post_processing=False. A seed here is not that seed in the cloud (PCG32 noise, not torch's).

raea motion is in the manual's CLI reference (docs/manual/reference/cli/motion.md, under "Generate and 3D tools", every flag described, a do line made between standing keys). The crate's small helpers that copied ones elsewhere are written once or rewritten (floats, cross, round, the .npy words, the clip's slug), so dupes stays at 292 and 59; dyn-clone leaves NOTICE's catalog list, since the motion crate brings mlx-rs (which uses it) into a plain raea build. SKILL.md:19 (which workspace, which project): checked, still true; raea motion takes no project and writes where -o says.
2026-11-16 01:43:08 -08:00
shinyobjectz 32fdfe0863 blender-godot: L1's repo-wide checks (licences, dupes, taxonomy, the CLI reference)
- Licences: Godot's setup unpacks its zip with the zip crate, which brings zeroize_derive into a plain raea build, so it
  leaves the plugin catalog's list (tools/licenses.sh: NOTICE's line and LICENSES/zeroize_derive-1.5.0).
- Dupes, back to 294 exact and 56 near: Blender and Godot share apps/tools' own_dir(name) (~/.raea/tools/NAME);
  godot_run's project_size reads `key=value` with split_once, and godot types counts its .d.ts files in a loop.
- Taxonomy: the backend-name scan leaves out sdk/blender/src/gen, Blender's own API as its RNA names it
  (bpy.ops.render.opengl), as it leaves out the generated .gen.tsx.
- The manual's CLI reference (tools/manual-ref/cli.ts gen): `godot` joins Generate and 3D tools with a page of its own
  (docs/manual/reference/cli/godot.md, with its prose: run, the window that --window and --movie open, types, open);
  blender.md says what a .ts script does; setup.md and the index follow the help.

Proven in an export of origin/main + this lane: tools/dupes.sh (294, 56), tools/taxonomy.sh, tools/licenses.sh --check,
and bun tools/manual-ref/cli.ts check (48 verbs, 214 flags, every flag described) pass; cargo test -p raea-app-engines
-p raea-app-tools passes.
2026-11-10 21:42:49 -08:00
shinyobjectz 551b2102bb PV1: the pick and the layer pass walk the drawn meshes through one function; the licence catalog follows meshopt
systems/frame layer.rs drawn(): every shown triangle-list mesh with its posed vertices and corners, which the layer
pass rasters and a pick's ray is cast against (pick.rs had the walk copied). A render's layers are byte-identical
before and after (shapes.tsx frame 10), and the live pick answers the same part. meshopt and float-cmp are in the
plain build now (raea media lod), so tools/licenses.sh takes them out of the catalog-only list in LICENSES/ and
NOTICE.
2026-11-09 21:03:59 -08:00
shinyobjectz 70946b84bf Layer pass before landing (L1): LICENSES/ and NOTICE as tools/licenses.sh writes them (vello_cpu, vello_common, glifo and fearless_simd are in the plain build now, through raea-sys-layers, so not the catalog's alone), and page_css joins its parts in one expression (raea-runtime-bundle back under 2000 lines) 2026-11-09 13:09:03 -08:00
shinyobjectz 65a687182f GPU particles the same on every run: bevy_hanabi vendored with two raea: changes (closes #52)
sdk/raea/bench/bevy-plugins/hanabi.tsx, with seed 7 on both fountains, differed from itself on the same build: 110 to
113 of its 120 frame hashes, from frame 7 or so (seen in #38's live-3d corpus as a route difference; it wasn't one).
Only the alpha-blended fountain varied. bevy_hanabi (rev 77630ff) builds its draw list with atomicAdd, so blended
particles drew in an order that changed from run to run, and it seeds a new particle from the dead slot it recycles,
which threads take in atomic order too, so once particles die the new ones differed as well.

vendor/bevy_hanabi is that rev, src/ byte for byte but for four files, all marked raea: (tools/vendor: 104 lines):
- vfx_init.wesl: a new particle's seed is its index in this frame's spawns, not its slot;
- mod.rs, sort.rs, vfx_sort_fill.wesl: blended effects (not opaque, not alpha-masked) go through the sort pass that
  only ribbons used, keyed by view depth from the main camera (the near plane of SimParams' frustum, which sort-fill
  now binds), far first as Bevy sorts its transparent phase, AGE breaking ties. The sort's layout key no longer needs
  RIBBON_ID or AGE.
Its Cargo.toml drops the examples, GPU tests, dev-dependencies and [workspace] (Cargo.toml.orig is upstream's). A git
[patch] in the root Cargo.toml points at it; only the plugin build compiles it (raea-cli without plugins doesn't).
LICENSES/bevy_hanabi moves into the vendored folder, as for the other vendored crates (tools/licenses.sh).
engine/bevy-plugins' hanabi.rs tags the first 3D camera HanabiMainCamera, so the sort has a camera.

bench/hanabi-repeat/check.sh renders it 4 times on the program route: before, 110 to 113 of 120 frames differed run to
run; now every frame is the same, and program vs live (RAEA_LIVE3D_CHECK) matches on all 120 frames. At frame 30,
before any particle dies, sorted vs unsorted (the same build, sort switched off) differs in 9 pixels, as two unsorted
runs do (8.5): order where particles overlap, not coverage. bevy-ts plugin-hanabi passes.
2026-11-08 04:47:40 -08:00
shinyobjectz ee771c453c 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
raea-runtime-dom's commits pass through a split (set_split), where raea-rune-layer's Router takes each layer's ops out of the batch in the JS's order, the slot standing for the layer page's root; a page that never makes a slot isn't routed. raea-rune-slots keeps each layer as a raea-rune-page Page in a raea-rune-bevy Tree (its new before_frame hook takes the routed ops), sized each frame to its slot's content box at the page's scale and shown there through ElementImages. Pointer input reaches it through the slot twin's picking events, a held press capturing the pointer as setPointerCapture does; its page's events reach the root's JS (deliver_to). raea-page-host adds it (RAEA_RUNE_LAYERS=0: all Blitz). Said, not dropped: a move between the page and a layer, and that a layer's elements aren't in the layout snapshot. vendor/rune-taffy: Rune and Blitz in one build need taffy's flexbox_balance arms in encode_wrap. Tests (engine/rune/slots/tests/slot.rs, through the page host): the slot's subtree is the layer's and not Blitz's, the layer is the slot's size and shown there, a press reaches the page's JS, and a press released off the layer still ends there; mutants without the split, the deliveries or the capture each fail one. The skill says how to use <RuneLayer> and what it doesn't do yet.
2026-11-07 15:20:38 -08:00
shinyobjectz b78afb5676 Licences: the catalog regenerated against the public lock (five crates the engine no longer reaches move into it), and licenses.sh keeps LICENSES/Apache-2.0.txt, which NOTICE's credits cite 2026-11-07 14:07:24 -08:00
shane 3381690416 raea is developed here now (public-first)
This repository was an export of a private one; from this commit on it is where raea is developed. Contributions:
CONTRIBUTING.md.
2026-11-07 13:36:50 -08:00
shane d3c399b4d5 raea origin/main 2026-11-07 01:29:24 -08:00
shinyobjectz 88ccb8284d raea 2e9eda9fa 2026-11-06 18:08:53 -08:00
shinyobjectz 5e1c192d29 raea 9565b5f97 2026-11-06 16:27:57 -08:00
shinyobjectz 925bc03c09 raea c8b196fdb32690c0ab507b6ecb34463bd859abf8 2026-11-05 04:36:44 -08:00
shinyobjectz f675b0ad2b raea dc579e418 2026-10-31 13:15:29 -07:00
shinyobjectz e3664ed4e9 raea: the Render Anything Engine, first public canary
One GPU engine for video, motion, games and 3D, written as React and TypeScript with @raea/motion and rendered by
Bevy; void, the Mac app on top of it; an agent skill and a Claude Code plugin. Licensed FSL-1.1-ALv2.
2026-10-18 11:07:18 -07:00