Skip to content

armgit / raea

Public Imported from GitHub
0

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.

735 B
Raw Blame
// The window set with Cycles' bounce light baked into its lightmaps by blender/lightbake.py, any sun left live: what raea's
// own bake is measured against (docs/bake.feature BK0). `raea bake light --compare` makes media/baked/window/.
import { AbsoluteFill, Composition, registerRoot } from "raea";
import { Baked } from "./baked";
import { Look } from "./parts/window";
import info from "./media/baked/window/set.lightmaps.json";

function Shot() {
  return (
    <AbsoluteFill style={{ background: "#000000" }}>
      <Look />
      <Baked dir="baked/window" info={info} />
    </AbsoluteFill>
  );
}

registerRoot(() => <Composition id="window-cycles" component={Shot} width={1280} height={720} fps={30} durationInFrames={1} />);