Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
A sound render (raea render X.tsx -o OUT.wav) finds its staticFile assets in the edit's folder (from the orientation showcase's gaps): sound_only stepped React without setting the edit's folder (edit_dir, as every picture render does), so a <FramePass file={staticFile(...)}> loaded /media/shaders/... from the filesystem's root and the render was refused at frame 0. Live play's master bounce goes through it too. Checked: a Canvas3D with a file FramePass and an <Audio> renders to WAV (it was refused). The manual's --at example says what the files are named: in order, frame-00000.png the first frame asked for.
shinyobjectz6668da3253af
diff --git a/docs/manual/reference/cli/render.md b/docs/manual/reference/cli/render.mdindex a543ae6e..07162663 100644--- a/docs/manual/reference/cli/render.md+++ b/docs/manual/reference/cli/render.md@@ -12,7 +12,7 @@ layout. It also renders an HTML composition and a bundle made by [`raea bundle`]```shraea render piece.tsx -o piece.mp4 # the whole videoraea render piece.tsx --frame 120 -o frame-120.png # one frame-raea render piece.tsx --at 15,63,144 -o stills/ # some frames, as stills/frame-00015.png and on+raea render piece.tsx --at 15,63,144 -o stills/ # some frames, in order: stills/frame-00000.png is frame 15raea render piece.tsx --alpha -o frames/ # every frame as a transparent PNGraea render piece.tsx --quality master -o final.mp4 # constant quality for type and thin linesraea render scene.tsx --review review/ # a 3D scene from six fixed cameras, in colour and claydiff --git a/runtime/export/src/run.rs b/runtime/export/src/run.rsindex 65cbf86e..3c1ad90f 100644--- a/runtime/export/src/run.rs+++ b/runtime/export/src/run.rs@@ -30,11 +30,11 @@ pub fn run_bundle(bundle: &Path, secs: f64) -> R<(i32, String)> {/// master row): React is stepped through every frame for its sounds, with no page painted and no video decoded. Live/// play hands this to the mixer, so a timeline sounds as its render does.pub fn sound_only(js: &Path, dir: &Path) -> R<Option<raea_io_media::Audio>> {- // the one mixer core: its bounce of the frames, mastered as the render's bounce is (core_master)+ // the one mixer core: its bounce of the frames, mastered as the render's bounce is (core_master); its staticFile+ // assets (a <FramePass> file) found in the edit's folder, as a render finds them, not at the filesystem's /media+ edit_dir(dir);let Some((cues, mix, p, rows, fps)) = core_cues(js, dir, false)? else { return Ok(None) };- if cues.iter().all(|c| c.sounds.is_empty() && c.tone.graph.is_none() && c.tone.evs.is_empty() && c.tone.speech.is_none()) {- return Ok(None);- }+ if cues.iter().all(|c| c.sounds.is_empty() && c.tone.graph.is_none() && c.tone.evs.is_empty() && c.tone.speech.is_none()) { return Ok(None) }Ok(Some(core_master(&cues, fps, mix, &p, &rows, dir)?.1))}