# raea 0.1.9

> raea render checks its own 3D: a frame that looks right only in the order it was drawn, words over a part, a camera that backs out of its own move, an empty frame. 3D parts follow the frame, long films render whole, Solari's light comes nearer a path tracer's, every engine setting is a TypeScript prop, and raea ask puts questions about a piece's picture and sound to a model, paid from your plan.

raea 0.1.9 makes a 3D render check its own work. It renders a sample of its frames again on their own and holds the
video to them, and it refuses words over a part, a camera that backs out of its own move and an empty frame. Behind
those checks, a 3D part's shape, words and colour now follow the frame, and a long film renders whole in one process.
Solari's light comes nearer the path tracer's, every engine setting can be set from TypeScript with nothing to build,
and `raea ask` puts questions about a piece's picture and sound to a model, paid from your raea plan.

**Get the app at [raea.io](https://raea.io)** (a Mac with Apple silicon, Windows 10 or 11, or Linux on x86_64).

The engine alone:

```sh
curl -fsSL https://raea.io/install | sh
```

On Windows, in PowerShell: `irm https://raea.io/install.ps1 | iex`.

## What changed since 0.1.8

**raea render checks its own 3D.** A 3D render that looked fine in its first seconds could go wrong later: a word
cut in half, another scene's caption left on screen, a camera dolly that ran in and back out. These are now errors,
with the frame, the parts and what to look at.
- A video render with 3D in it renders a sample of its frames again on their own, in another raea, and holds the
  video to them. A patch that differs means a part kept something from an earlier frame. The error names the frame,
  the parts under the patch and where both pictures are kept.
- Page words over a 3D part are an error. Words meant to cross the picture, such as a title over the whole frame,
  say so with `data-allow-overlap` on the element or a parent.
- A camera that goes in and back out within a second and a half, lurches or never settles is caught, and so are
  parts that snap from one place to another, 3D type too small or too turned away to read, and a frame left empty
  (a room's walls and models fill it; the page's background doesn't).
- A part whose entity has already gone is an error naming it and the frame.
- `raea show` won't post a render with an error. When you accept one, `raea render ... --despite CHECK "why"` lets
  it through, and `raea findings` lists what was let through.

**3D parts follow the frame.** In one render, a Sphere's radius, a Cuboid's size, a Text3D's letters and a
RichText's words, colour and size used to keep their first frame's values. Now a part whose shape or words change is
built again on the frame it changes. A RichText keeps its own row, so one mounting where another left no longer draws
the old words in the new colours, and footage, splats, sequences, fog, fires and grass work the same way. A
ShaderExtension's uniforms follow the frame, every 3D part that takes a frame takes its Sequence's, and a glyph that
grows the 3D text atlas is drawn whole.
- New parts: `Line3d` and `Tube` (a line through points, drawn solid at every frame), `cameraPath` (a camera path that
  can't lurch) and `Label` (page type that names a 3D part, placed through the shot's camera).

**A long film renders whole.** A 7-minute 3D film (13,175 frames) used to grow past 24 GB until the machine stopped
it, so it had to be rendered in chunks. Now the encoded video, its sound, the shapes and the end checks go to disk or
are let go as the frames come. The same film renders whole at a 4.8 GB peak, and a 13,000-frame render's memory at
its end is within 8% of its first minute's.

**Light nearer the path tracer's.**
- On a Mac, Solari can draw below the view's size, and MetalFX denoises it and brings it up to full size in one
  pass. At two thirds of the size it keeps 90% of the full size's fine detail.
- `<Environment portals>` names a room's openings, so a hall under a skylight gets the sky's light through it, not
  only from the rare bounce that happens to leave.
- Fog is lit by Solari's glowing parts and its sky, light is dimmed by what the fog absorbs on its way to each
  point, and `<FogVolume>` takes soft edges and a taper, for steam and smoke that don't read as boxes. The path
  tracer walks the fog too, so there's a ground truth to hold it to.
- Thin surfaces such as leaves and paper shade their back face as their front and let light through. A glossy
  reflection no longer trails what it shows, a bright lamp is drawn at its full light, and vertex colours are traced.
- A render with 3D draws each frame once. Before, it drew every frame twice, and four times with motion blur.

**Motion blur like a shutter.** raea's own motion blur gathers each pixel along the longest motion near it, so a
moving ball streaks over the still floor beside it as a real shutter spreads its light. Before, its streak stopped
at its own outline. A camera that jumps (a respawn, a teleport) drops its history, so the last view no longer bleeds
into the new one and nothing streaks along the jump.

**Every engine setting from TypeScript, with nothing to build.**
- `<ShaderConstants>` sets any constant in an engine shader. `<SolariLighting>` takes its denoiser, guides, emission,
  jitter and constants as props, so an A/B is two compositions, not two builds. `<VolumetricFog>`'s props replace the
  `RAEA_FOG_*` variables, and motion blur's kind, the path tracer's samples and air, and Steady's rates are props too.
- A project's `engine-shaders/` folder replaces one of the engine's own shaders from its first frame. raea names each
  one and warns that it is tied to this raea's version.
- On a Mac, raea carries the plugin catalog. A project names the plugins it uses in package.json, and they are added
  with no build. Windows and Linux follow once their builds pass the same check.
- Debug views and pass timings are channels you choose and read from TypeScript.

**raea ask.** `raea ask FILE "Does the music fight the voice?"` puts questions about a video, a sound or a picture to
clef-omni and prints each answer in words with its probability, the window it looked at and what it cost. Ask a yes or
no, a choice (`--choose`), a grade or a rating, in your own words or from the standard sets: the craft rubric, picture
and sound together, defects, platform checks and picking between versions (`raea ask list`). It pays from your raea
plan's monthly pool on Pro or Studio, with an agent key in a pipeline or CI, or with your own Cloudflare keys.
- Before it spends anything it reads the file and the brief, and skips a question that doesn't apply, saying why. A
  sound question of a silent file isn't asked. `--dry` shows what would be sent and its cost.
- `--batch` asks many questions over many clips in parallel, cutting each clip once. `--json` and `--gate` are for
  scripts and CI, and `raea/ask` gives a script typed answers.
- Every answer is kept. Your verdicts, notes and approvals label it, `raea ask calibrate` gives each question its own
  threshold, and `raea ask try` measures new wording against the old.
- `raea fingerprint score --ask` asks clef about the moments the fingerprint flags, and the app's `rule_check` asks it
  before the agent looks, so the agent opens only the moments clef flags.

**Sound mixed and mastered on every render.** Before, a render was mastered only with a `<Mix>`. Now dialogue is
brought to one level, a leveller runs before the limiter and room tone fills the joins between lines. `raea check`
measures clipping on each channel; it read a clean master as clipped before.

**raea check in half the time.** It decodes the picture once for flashing, freezes, flash frames and blotching, with
the same findings. It also says who can fix what it finds, so a round of fixes goes only to what another render can
change.

**One list, and rules as taste.** Controllers are gone: a standing rule is a line in `taste.ts`. A project's
`plan.org` is its one task list, and a task can link to Asana, Linear or Jira beside it.

**In the app.**
- Signing in holds. When Node can't reach raea.io (`ERR_SSL_WRONG_VERSION_NUMBER`), the app reaches it the system's
  way, GitHub's token refresh never signs you out, and "Use another account" switches accounts.
- The critique judges through `raea ask`, an agent has an `ask` tool, and `rule_check` asks clef first.
- The whiteboard's fonts ship with the app.
- Google's AI connects again. Google stopped serving Gemini CLI to personal accounts, so picking Google now starts
  its successor, Antigravity, signed in with your Google account or a Gemini API key.
- Usage reports name an AI by its kind (Claude, Codex, Kimi), never by an agent id that held your workspace's and
  project's names, and they now say how each turn ended.

**For builders.**
- `random`, `interpolateColors` and `OffthreadVideo` come from raea (#176).
- `raea run` prints its console, its answer and a thrown error's message (#168).
- A `font-family` whose first family isn't installed is a render warning that names the font drawn instead (#174).
- Filter layers are sized by what they draw, and the atlas can be as large as the GPU's textures (#125).
- On Windows, DirectX 12's shader compiler (Microsoft's DXC) ships with raea (#215).

**Known**
- A long 3D film that switches between scenes can draw its later shots darker than the same frames rendered alone.
  `raea render` now catches it as frame-pure errors rather than writing a wrong film. Until it's fixed, render each
  scene in its own process.
- On Linux, raea needs a processor with AVX (most from 2011 on) and glibc 2.39 or newer (Ubuntu 24.04, Debian 13,
  Fedora 40 and later).
- On Windows, TokenSynth runs on the CPU, so each note takes a minute or more to make.
- On Windows with Intel or AMD graphics, how much DXC shortens a 3D render's start and smooths scrolling (#215)
  hasn't been measured yet.
- A seek while a film plays in the timeline can show one frame from before the seek (about 33 ms) before it jumps.
- A long 4K `raea render` can still hang before its first frame (#158).
- Characters (the Character SDK) come in a later release.
- R3F's pointer input has no double click yet, and touches don't arrive as pointers.
- postprocessing's Outline, TextureEffect, DepthEffect and LUT1D, and TSL's OutlineNode, are skipped, with one
  warning that names them.
- The Windows app is unsigned, as before: Windows asks once whether to run it.
- A proxy set by an automatic configuration (PAC) file isn't read. If yours uses one, start raea with `HTTPS_PROXY`
  set.
