3 Commits
Author SHA1 Message Date
alex fbfcc586c3 Compare: --compare-area (a cell or x,y,w,h fractions) in run.py and devtools/compare_shot.py
compare_shot.py also takes --freeze, --flip a|b and --labels-at, and draws the picker for --layout grid
without an area.
2026-11-26 06:03:24 +00:00
alex 269ff19577 Engine: Compare on software OpenGL, and a clearer upscaler comparison
Anti-aliasing takes a frame held on the CPU to the GPU and back (a millisecond, against
hundreds on the CPU): on the GPU VM's llvmpipe the live view went from 2 to 20 fps. Upscaler Off
compares as the game's pixels enlarged as they are (nearest neighbour) instead of a small
picture in the middle that the strips missed. Labels sit below the stats' pill. compare_shot:
warm-up runs, a 2x2 frame generation sequence and zoomed crops of each variant side by side.
2026-11-26 04:36:07 +00:00
alex 989e3d000d Engine: Compare settings live in the video window, and anti-aliasing in the pipeline
The pipeline applies the Anti-aliasing setting to every frame shown and puts the
anti-aliasing and frame generation strips together at the game's size (the Off strip holds
the game's own frames, in step with the generated ones); the window draws the upscaler and
look strips (each variant on the whole picture, timed with GPU queries, then its strip cut
out) and every label and divider with ui_draw. C toggles Compare, Shift+C the next thing to
compare; a 2-strip divider can be dragged. run.py: --aa, --compare, --compare-layout.
aa.py compiles each filter with torch.compile on a thread of its own when Triton is there.
devtools/compare_shot.py writes one compared frame as PNG (and zoomed crops).
2026-11-26 04:25:58 +00:00