Files
shane d873402ac5 raea goal is the loop, raea make the asset tools (#269)
One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done (goal check, tasks, judge, seen, gates, next); the brief's contract is goal: (one goal or a list, a workflow inline), and its plan is plan:. raea make is making a finished asset: character, clothes, motion, solid, wear, splat, physics, bake, sounds, component, the kit pipeline and shots. Instruments (check, judge, ask, world, scene faults, light check) stay top-level. With it: the montage pack (MK48-MK51), JavaScriptCore fixes raea goal needs (CommonJS named exports, reserved words too, dynamic import of file URLs, process.exit from a promise, stdin for -), raea-cli-goal and raea-cli-refused split out of raea-cli, and skills at raea-skills 105aede.
2026-11-29 18:43:09 -08:00

6.7 KiB
Raw Permalink Blame History

title, summary, order, sources
title summary order sources
raea make The asset tools: everything a project is made from, each a `raea make TOOL` (components, solids, clothes, motion, splats, physics, bakes, foley, instruments); and a scene, kit or shot goal's steps. 102
engine/cli/src/usage.rs
apps/make/src/lib.rs
apps/make/src/asked.rs
apps/make/src/kit.rs
apps/make/src/kitout.rs
apps/make/src/shots.rs
apps/make/src/floor.rs
apps/make/src/sheet.rs

raea make holds the tools that make things: each is raea make TOOL, with its own page. What the work is held to, and when it's done, is raea goal's.

Tool Makes
raea make component a ready component or set copied into the project
raea make solid solids written in TypeScript, measured and printed
raea make clothes clothes for SOMA's body
raea make motion a body's motion from a line
raea make splat Gaussian splats trained from a video or images
raea make physics physics bakes
raea make bake light bakes
raea make wear a model's weathering causes
raea make sao, raea make tokensynth, raea make sounds foley, instruments and open sample libraries, on this machine
raea make place the clearest places in a shot for a text box

The steps

Each step reads the scene, kit or shot goal from the brief.ts at or above DIR and works beside it.

  • The blockout stop (a goal with placed objects): raea make blockout draws review/plan/floor-plan.png (every object's footprint at its at, turned by its rot, labelled with its height; invented ones dashed), renders a grey-box blockout of the plan from the entrance (blockout.png, and its review sheets unless --no-review), and puts the first reference, the blockout and the floor plan on comparison.png.
  • A kit, in order:
    • raea make refs makes each object's reference from the plan's style images, in its style paragraph, with the scan template (one object, whole, on plain grey, even light), then the reference sheet review/refs.png. --only remakes some, --dry quotes it and spends nothing.
    • raea make gen sends each reference to Tripo H3.1 (150 000 faces for a hero, 60 000 for a prop) and Meshy on fal, into out/kit/gen/ID/ (--tripo, --meshy to change either; --dry quotes it).
    • raea make pick-sheet fits both models to the object's real size and draws each in colour and in clay beside the reference: review/picks.png. raea make pick ID tripo|meshy "why" records the pick in out/kit/picks.json.
    • raea make prep fits each pick to its real size with raea gen check, makes a quarter-triangle ID_lod1.glb beside it (raea blender run blender/decimate.py), and writes a .glb.json sidecar for each.
    • raea make kit lands the kit as a component set: the workspace's shared/components/KIT/ (else the project's components/KIT/, or --to), one component per object importing its model and LOD from beside it, lineup.tsx with a 1 m bar, cover.png, thumbs/ and kit.json; and the job's own out/kit/ record that the deliverables pack counts.
  • A shot list: raea make framing renders every shot's first, middle and last frame (from its seconds at its fps, 30 when left out) with raea render --at and puts them on review/framing.png, a row a shot, stamped with its name and time. raea make lenschart SHOT renders a shot's first frame at 18, 24, 35, 50, 85 and 135 mm (RAEA_LENS) onto review/lens-SHOT.png. Each shot needs its composition.
raea make blockout
raea make refs --dry && raea make refs
raea make gen --only rotary_phone
raea make pick rotary_phone meshy "Tripo fused the handset to the cradle"
raea make prep && raea make kit --name flight-desk
raea make framing --only counter_push
raea make lenschart counter_push

Usage

raea make place FILE [--at S[,S...]] [--box WxH]   (the clearest places in a shot for a text box that size, in a 1080-wide frame)
raea make blockout [DIR] [--no-review]   (a scene's blockout stop: review/plan/floor-plan.png, a grey-box blockout from the entrance and its review sheets, comparison.png beside reference 0)
raea make refs [DIR] [--only ID,...] [--model M] [--dry]   (a kit: every object's reference from the style images, in the plan's style, then review/refs.png; --dry quotes it)
raea make sheet refs [DIR]   (review/refs.png again: the style images, then every reference)
raea make gen [DIR] [--only ID,...] [--tripo M] [--meshy M] [--dry]   (each reference to both generators, Tripo H3.1 and Meshy on fal: out/kit/gen/ID/)
raea make pick-sheet [DIR] [--only ID,...]   (review/picks.png: reference | Tripo | Tripo clay | Meshy | Meshy clay, fitted to size)
raea make pick ID tripo|meshy "why" [DIR]   (the pick and its reason, out/kit/picks.json)
raea make prep [DIR] [--only ID,...]   (each pick fitted to its real size, a quarter-triangle _lod1 beside it, .glb.json sidecars)
raea make kit [DIR] [--name KIT] [--to FOLDER]   (the kit as a component set: shared/components/KIT, lineup.tsx, cover.png, thumbs, kit.json)
raea make framing [DIR] [--only NAME,...] [--out DIR]   (a shot list: each shot's first, middle and last frame on framing.png, stamped)
raea make lenschart SHOT [DIR] [--out DIR]   (a shot's first frame at 18, 24, 35, 50, 85 and 135 mm on lens-SHOT.png)

Headless: it needs nothing running and opens no window. Takes up to 5 arguments besides its flags.

Flags

Flag Takes What it does
--at S The moment check runs the rules of (default done); for place, the seconds to read (S[,S...]).
--box WxH The text box place finds room for, in a 1080-wide frame.
--dry – Quote the generation (refs, gen) and make nothing.
--meshy M The Meshy model for gen (default fal:meshy/v7.1/image-to-3d).
--model M The image model for refs (default raea gen image's).
--name KIT The kit's folder name for kit (default the brief's directory name).
--no-review – plan without the blockout's raea render --review sheets.
--only ID,... check: only these checks. Otherwise only these objects (refs, gen, pick-sheet, prep) or shots (framing), by id or name.
--out DIR Where the sheet or chart is written (default the job's review/).
--to FOLDER Where kit lands the components (default the workspace's shared/components/KIT).
--tripo M The Tripo model for gen (default tripo:H3.1).