mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
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.
6.7 KiB
6.7 KiB
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 |
|
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 blockoutdrawsreview/plan/floor-plan.png(every object's footprint at itsat, turned by itsrot, 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 oncomparison.png. - A kit, in order:
raea make refsmakes 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 sheetreview/refs.png.--onlyremakes some,--dryquotes it and spends nothing.raea make gensends each reference to Tripo H3.1 (150 000 faces for a hero, 60 000 for a prop) and Meshy on fal, intoout/kit/gen/ID/(--tripo,--meshyto change either;--dryquotes it).raea make pick-sheetfits 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 prepfits each pick to its real size withraea gen check, makes a quarter-triangleID_lod1.glbbeside it (raea blender run blender/decimate.py), and writes a.glb.jsonsidecar for each.raea make kitlands the kit as a component set: the workspace'sshared/components/KIT/(else the project'scomponents/KIT/, or--to), one component per object importing its model and LOD from beside it,lineup.tsxwith a 1 m bar,cover.png,thumbs/andkit.json; and the job's ownout/kit/record that the deliverables pack counts.
- A shot list:
raea make framingrenders every shot's first, middle and last frame (from itssecondsat itsfps, 30 when left out) withraea render --atand puts them onreview/framing.png, a row a shot, stamped with its name and time.raea make lenschart SHOTrenders a shot's first frame at 18, 24, 35, 50, 85 and 135 mm (RAEA_LENS) ontoreview/lens-SHOT.png. Each shot needs itscomposition.
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). |