# The review window

`lamino review shots/010/010.comp.ts` opens a window for people to look at the picture. The window watches the comp file for saves and evaluates again each time the agent saves. The window's state lives only in memory, and it never rewrites the comp. The full list of controls is in [The review window in the reference](/docs/reference/review-window/).

## Launch options

| Option | Meaning |
| --- | --- |
| `--frame <FRAME>`, `--node <NODE>` | The frame and node shown first |
| `--display`, `--view` | The display transform used first |
| `--ab <TARGET>` | The A/B target. `git:<rev>`, an alias image path, another node's id, or `no-overrides` (the picture without the session overrides) |
| `--scopes` | Opens with the scopes shown |
| `--audio <ALIAS>`, `--audio-offset <FRAMES>` | Plays reference audio (WAV, AAC-LC, MP3) in sync |
| `--ndi [NAME]` | Also sends the picture on screen as an NDI source |
| `--proxy <1\|2\|4\|8>` | Proxy factor for evaluation. It can also be changed in the window |

## Keyboard

| Key | Action |
| --- | --- |
| `Space` | Play and pause |
| `←` `→` | Back or forward one frame |
| `Home` `End` | To the first or last frame of the range |
| `F` | Back to fit |
| `R` `G` `B` `A` `L` | Show only that channel (`L` is luminance). Press again to go back to RGB |
| `C` | RGB display |
| `Tab` | Swap A/B |
| `W` | Cycle the A/B mode (toggle, wipe, side by side, in that order) |
| `O` | Loop on and off |
| `N` | Node list panel |
| `I` | Changes and lint panel |
| `K` | Controls panel |
| `S` | Scopes panel |

The wheel zooms around the cursor (0.01x to 64x), and dragging pans. Clicking and dragging the seek bar moves between frames. These keys do nothing while you are typing text or dragging a control.

## View and compare

- **Display transform**: choose the display and view in the top bar. `exposure` (±8 stops) and `gamma` (0.25 to 4) are for viewing only and go into neither the comp nor the render.
- **A/B**: the target is the previous commit (`git:HEAD~1`), a reference image (`$SHOTS/...`), another node, or the picture without the session overrides (`no-overrides`). There are three modes: toggle, wipe, and side by side. There is no difference display.
- **Node list**: a tree with the output at the top and its inputs below. Click a node name to show that node's output. The `S` button on each row is solo and the `M` button is mute. Both are session-only settings.
- **Proxy**: the top bar shows the current factor (`proxy 1/N`). On frames that are heavy to evaluate, a rough preview appears first and is then replaced by the real picture.
- **Changes and lint**: the right panel shows the nodes and parameters changed since a git revision, and the errors and warnings from the last check.

## Reading values

The bottom bar always shows the pixel coordinates under the cursor, the coordinates in width units, the scene-linear value (4 components) and the display value (0 to 255). The scene-linear value is read from the float image. When the proxy picture is zoomed in beyond 1:1, only the area around the cursor is evaluated again at full resolution and read. The frame number is always shown too, so that you can say things like "top left of 1032".

The status line shows the evaluation time and fps, where the engine runs (`engine GPU`, `engine WARP`, `engine on CPU`), VRAM use and budget, and the node being evaluated. `engine on CPU (left GPU)` means the shared GPU was lost or memory ran out, and evaluation moved to the CPU reference implementation.

## Playback

Playback advances only onto cached frames. While the evaluator is free, the window reads ahead of the playhead and fills the cache. The green band on the seek bar is the cached range. When reference audio is given, the audio clock decides the frame on screen.

## Scopes

`S` opens the waveform (RGB overlay or Y'), RGB parade, vectorscope and histogram. They measure the picture on screen, that is, the 8-bit values after the display transform. So nothing outside 0 to 1 is visible, and the viewing exposure or gamma, when you move them, also enter the measurement (a note is shown when that happens). When you want scene-linear values as numbers, use the pixel readout or `lamino probe`.

## Controls

This is for when it is faster to decide a value by eye, as with "a little softer".

1. The agent names two or three parameters with ranges: `lamino controls <comp> lit.radius=0..0.1 lit.intensity=0..4`.
2. Widgets for those parameters appear in the window. When a person moves them, the picture updates on the spot.
3. The agent reads the chosen values with `lamino viewer <comp>` and writes them into the comp file.
4. The agent cleans up with `lamino controls <comp> --clear` and commits.

The values moved there live only in that window's session and go into neither `render` nor `preview`.

| Parameter type | Widget |
| --- | --- |
| Number | The field itself is a slider. Drag sideways to change the value; moving down while dragging makes it finer. Click to type a number or an expression (`x * 2`, `sqrt(x)` and so on) |
| Angle | A knob on the number field. `Shift` snaps to 45 degrees |
| Two values (position and so on) | A button that moves both values when dragged, and `X` and `Y` number fields |
| Colour | A swatch and a picker, and `R` `G` `B` `A` number fields |
| bool | A checkbox |
| enum | A row of choices |

Every widget goes back to the comp's value by a double click or from the right-click menu (the colour swatch by right click only). Pressing `compare with the comp` gives an A/B against the picture before you moved anything. Animated parameters, strings and paths cannot be controls. A shader node's uniforms can be named like `look.brightness`.

## NDI output

`--ndi` or the `NDI` button in the bottom bar sends the frame on screen (the picture without the window's bars or zoom) as an NDI source on the local network. It is for watching on another monitor or switcher: proxy size, 8 bit, no colour tags. It cannot be used for delivery. Without the NDI runtime installed, you get `E_CODEC_UNAVAILABLE`.

## What the window does not have

There is no node editing, keyframe editing, gizmos, paint, comments, guide overlays or render launching. A person also cannot pick any parameter they like and move it. Only the controls the agent has put up can be moved.
