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
raea-cli and raea-runtime-scene back to 2000 lines (tools/size.sh): each side was at the limit alone
shinyobjectzfb0fca507f88
diff --git a/engine/cli/src/cli.rs b/engine/cli/src/cli.rsindex b86cc8b1..e2e4735f 100644--- a/engine/cli/src/cli.rs+++ b/engine/cli/src/cli.rs@@ -225,8 +225,7 @@ pub fn run(args: &[String]) -> R<String> {if args.first().map(String::as_str) == Some("play") {return raea_app_play::play(args);}- // `export layers EDIT.tsx` (the composition as its layers and layers.json, every editor's export's) and `export xml- // EDIT.tsx` (an FCP7 XML project for Premiere Pro and DaVinci Resolve): apps/layers+ // `export layers EDIT.tsx` (the composition as its layers and layers.json, every editor's export's) and `export xml EDIT.tsx` (an FCP7 XML project for Premiere Pro and DaVinci Resolve): apps/layersif let Some(done) = raea_app_layers::cli(args) { return done; }// `export capcut EDIT.tsx` (a CapCut draft) and `render ... -o OUT.mov --alpha` (a transparent movie): apps/capcutif let Some(done) = raea_app_capcut::cli(args, |a| raea_app_sound::render(a).unwrap_or_else(|| raea_runtime_export::render(a))) { return done; }diff --git a/runtime/scene/src/lib.rs b/runtime/scene/src/lib.rsindex a99b5616..a434679d 100644--- a/runtime/scene/src/lib.rs+++ b/runtime/scene/src/lib.rs@@ -217,9 +217,7 @@ pub fn items_of(scene: &[Node3]) -> Vec<Item> {// a camera's own AmbientLight (<Camera3d>'s <AmbientLight> child, Bevy 0.20's component) lights its view in place of// the scene's others (GlobalAmbientLight)let own = |i: &Item| i.kind == "ambient" && i.props.get("camera") == Some(&Value::Bool(true));- if out.iter().any(own) {- out.retain(|i| i.kind != "ambient" || own(i));- }+ if out.iter().any(own) { out.retain(|i| i.kind != "ambient" || own(i)); }raea_core_review::camera_override(&mut out); // a review's fixed camera in place of the scene's own (RAEA_CAMERA)out.retain(|i| raea_sys_layers::draws_part(std::env::var("RAEA_LAYER").ok().as_deref(), i.kind)); // an export's layer (LA2a)out