Add Film gate, a video effect of film running through a projector

Film grain's field moves to effects/grain_field.hpp so both share it; Film
grain renders exactly as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Si
2026-09-26 20:39:57 +02:00
co-authored by Claude Opus 5.5
parent 37c02a8a7b
commit ce0207c41f
8 changed files with 285 additions and 38 deletions
+5
View File
@@ -26,6 +26,11 @@ commit that made it. The interface shows this file under Changelog in its menu.
and back, so the streaks spread over one part of the picture after
another. On the command line it is `-e sweep` with `--sweep-from`,
`--sweep-to`, `--sweep-width`, `--sweep-speed` and the rest.
- Film gate, a video effect: film running through a projector, with grain
drawn anew on every frame as Film grain draws it, the picture swaying in
the gate, flicker, dust and scratches. On the command line it is
`-e filmgate` with `--gate-grain`, `--gate-weave`, `--gate-flicker`,
`--gate-dust` and `--gate-scratches`.
- A Quality choice under Video on Setup: Small file, Standard or High, for
how the saved video is encoded. It is kept in the project, and on the
command line it is `--video-quality small|standard|high`. Standard writes