mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
Bevy applies the extract schedule's commands in the next frame's render schedule. A still draws one frame and drops the Engine, so each extract system went with its queue unapplied and bevy_ecs warned "CommandQueue has un-applied commands being dropped" 54 times (lldb on the warning: the extract systems' FunctionSystemState, dropped with the render sub-app's schedules from render_with). Engine's Drop now runs the extract schedule's apply_deferred on the render world, as Bevy's apply_extract_commands does each frame. Checked on the binary: a still of the starter edit prints no CommandQueue line, and a video renders with 0 findings. forward_render_diagnostics is written shorter to keep raea-render within 2,000 lines.
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.rsandsrc/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 throughruntime/js/.src/cli.rsandsrc/media_verbs.rs: native media verbs (raea media ..., plusraea ffmpegandraea 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.