mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
The CLI reference is now 43 pages, one a verb, each with its forms, where it runs and what each of its 164 flags does, under docs/manual/reference/cli. The forms and flags are generated from `raea help --json`; the prose and the flag descriptions are written by hand, kept by the generator, and checked: a new flag without a description fails. The SDK reference is 28 pages, one an import path, under docs/manual/reference/sdk: every export with its doc, its signature, a component's props, a class's members, its Bevy type and the parity ports and examples that use it, generated by the TypeScript compiler, with a hand-written introduction and a type-checked example on each page. Where the SDK mirrors a Bevy type without a comment of its own, Bevy's own doc is shown, marked as Bevy's (tools/manual-ref/bevy-docs.json). Doc comments added to the SDK exports that had none. tools/manual-ref.sh gen|check runs both generators.
42 lines
2.0 KiB
Markdown
42 lines
2.0 KiB
Markdown
---
|
|
title: "raea neural"
|
|
summary: "Run DLSS 5 neural rendering over a render's frames on the Mac, through your own MLX-DLSS build and weights."
|
|
order: 68
|
|
sources: ["engine/neural/src/lib.rs"]
|
|
---
|
|
|
|
`raea neural mlxdlss` feeds a render's frames, with the motion vectors and depth raea writes beside them, to
|
|
MLX-DLSS, which runs DLSS 5's neural rendering on Apple silicon. It's an optional integration: the `mlxdlss` binary
|
|
and the weights are yours. The weights are NVIDIA's, extracted from your own DLSS install, and never ship with raea.
|
|
Set `RAEA_MLXDLSS` to the binary and `RAEA_DLSS_MODEL` (or `--model`) to the weights. Each shot runs on its own,
|
|
so a face never carries over a cut.
|
|
|
|
```sh
|
|
raea render piece.tsx --aov -o frames/
|
|
raea neural mlxdlss frames/ -o neural/ --steady 0.25
|
|
```
|
|
|
|
<!-- generated:begin by tools/manual-ref/cli.ts from `raea help --json`; edit only the flag descriptions -->
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
raea neural mlxdlss DIR -o OUT [--model M.dlssmodel] [--intensity X] [--profile P] [--skin-structure X] [--local-structure X] [--steady A] (DLSS 5 neural rendering on a `render --aov` folder, with its motion and depth: your own MLX-DLSS build and weights, RAEA_MLXDLSS and RAEA_DLSS_MODEL)
|
|
```
|
|
|
|
Headless: it needs nothing running and opens no window. Takes up to 2 arguments besides its flags.
|
|
|
|
## Flags
|
|
|
|
| Flag | Takes | What it does |
|
|
| --- | --- | --- |
|
|
| `--intensity` | `X` | How strongly the network repaints, passed to MLX-DLSS. |
|
|
| `--local-structure` | `X` | How much local detail it keeps, passed to MLX-DLSS. |
|
|
| `--model` | `M.dlssmodel` | The weights to use, in place of `RAEA_DLSS_MODEL`. |
|
|
| `--profile` | `P` | MLX-DLSS's profile. |
|
|
| `--skin-structure` | `X` | How much of skin's own structure it keeps, passed to MLX-DLSS. |
|
|
| `--steady` | `A` | Steady the shimmer the network adds: its change to each frame is carried along raea's motion vectors and blended in at this rate, 0 to 1. Lower is steadier; 1 turns it off (0.25 by default). |
|
|
| `-o` | `OUT` | The folder the frames go to. |
|
|
|
|
<!-- generated:end -->
|