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
LightBench LB4: sweep.sh reruns the light-count, detail and field-of-view sweeps at 1280x720 and prints a line a run
shinyobjectz90182e445bc9
diff --git a/bench/lightbench/sweep.sh b/bench/lightbench/sweep.shnew file mode 100755index 00000000..1c363325--- /dev/null+++ b/bench/lightbench/sweep.sh@@ -0,0 +1,23 @@+#!/usr/bin/env bash+# LightBench's sweeps (docs/lightbench.feature LB4): light counts by mode, then detail by distance and field of view,+# at a fixed resolution, each a headless run of the release build. Prints one line a run; frames go to OUT.+# usage: bench/lightbench/sweep.sh OUT_DIR (build first: cargo build --release -p raea-lightbench)+set -euo pipefail+out="${1:?usage: sweep.sh OUT_DIR}"+mkdir -p "$out"+root="$(cd "$(dirname "$0")/../.." && pwd)"+lb="$root/target/release/lightbench"+[ -x "$lb" ] || { echo "no $lb: cargo build --release -p raea-lightbench" >&2; exit 1; }+run() { "$lb" --t 0 --size 1280x720 "$@" 2>/dev/null | grep -E '^(FRAME|LOD)' || { echo "FAILED: $*" >&2; return 1; }; }++echo "# frame time (the GPU waited for each frame) by light count and mode"+for n in 16 64 256; do+ run --lights "$n" --bench 30 --shot "$out/all-$n.png"+ for m in uniform weighted; do run --lights "$n" --mode "$m" --k 4 --bench 30 --raw --shot "$out/$m-$n.png"; done+done++echo "# detail: full against adaptive, then the field of view"+run --scene field --detail full --view lod --shot "$out/field-full.png"+for fov in 45 20 8; do run --scene field --fov "$fov" --view lod --shot "$out/field-fov$fov.png"; done+echo "# frame time of the field, full against adaptive"+for d in full adaptive; do run --scene field --detail "$d" --mode weighted --bench 30 --shot "$out/field-time-$d.png"; done