Files
raea/engine/render
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
..
2026-10-31 13:15:29 -07:00
2026-10-31 13:15:29 -07:00

raea-render

raea-render: raea's render engine. raea compositions are lowered to its program (rows spawned once, keyed per frame) by sdk/react/ and drawn here, so a render and a live play draw from the same rows with the same code.

  • src/engine.rs and src/engine/: the Bevy renderer: 3D scenes (meshes, lights, cameras, glTF models, post effects), video frames, the painted pages as image rows (src/rows2d.rs, drawn by bevy_ui) and sound.
  • src/gpuview.rs: the direct GPU path a render encodes from.
  • src/html.rs: HTML compositions, drawn by bevy_ui through runtime/js/.
  • src/cli.rs and src/media_verbs.rs: native media verbs (raea media ..., plus raea ffmpeg and raea ffprobe, which read ffmpeg-style command lines without running ffmpeg). raea and the shell run them in process.

Depends on runtime/js/, systems/k/, io/media/ and gpu/device/.

Status: in use as the renderer behind raea.