From: Svjatoslav Agejenko Date: Mon, 28 Sep 2026 20:55:27 +0000 (+0300) Subject: test(demos): render goldens at 1920x1080 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=b6a2834c390e8a386226d3585147f36370fba244;p=aukio-3d-demos.git test(demos): render goldens at 1920x1080 Raise the DemoGoldens render resolution from 640x480 to 1920x1080 (full HD) so regressions are caught at the resolution the demos actually run at, and regenerate every golden image at the new size. Tolerances are unchanged (per-channel 16, 0.005 differing- pixel fraction; 32 for SDF text scenes). --- diff --git a/agents.org b/agents.org index 89e169e..893b473 100644 --- a/agents.org +++ b/agents.org @@ -27,7 +27,7 @@ Tolerances: per-channel 16, max differing-pixel fraction 0.005 — covers JPEG XL codec noise (q98 decode differs ≤ ~0.4% of pixels at tolerance 16) with >2x margin while real regressions fail. SDF-text scenes (text-editors, text-editors-city) use 32: one-pixel glyph edges ring -under lossy compression. Scenes render at 640x480. +under lossy compression. Scenes render at 1920x1080 (full HD). ** The buildScene contract (hard rule for new/changed demos) diff --git a/goldens/benchmark.jxl b/goldens/benchmark.jxl index d7cfaf8..467eccb 100644 Binary files a/goldens/benchmark.jxl and b/goldens/benchmark.jxl differ diff --git a/goldens/coordinate-system.jxl b/goldens/coordinate-system.jxl index 5c8b459..0df6782 100644 Binary files a/goldens/coordinate-system.jxl and b/goldens/coordinate-system.jxl differ diff --git a/goldens/csg.jxl b/goldens/csg.jxl index bc29ee0..26afc3f 100644 Binary files a/goldens/csg.jxl and b/goldens/csg.jxl differ diff --git a/goldens/fullscreen.jxl b/goldens/fullscreen.jxl index 56b3fcb..bc4224f 100644 Binary files a/goldens/fullscreen.jxl and b/goldens/fullscreen.jxl differ diff --git a/goldens/galaxy.jxl b/goldens/galaxy.jxl index 954120b..a077d93 100644 Binary files a/goldens/galaxy.jxl and b/goldens/galaxy.jxl differ diff --git a/goldens/game-of-life.jxl b/goldens/game-of-life.jxl index c477d5a..ddc6a65 100644 Binary files a/goldens/game-of-life.jxl and b/goldens/game-of-life.jxl differ diff --git a/goldens/head-tracking.jxl b/goldens/head-tracking.jxl index d93b624..429028f 100644 Binary files a/goldens/head-tracking.jxl and b/goldens/head-tracking.jxl differ diff --git a/goldens/house-flat.jxl b/goldens/house-flat.jxl index ef018e3..3379146 100644 Binary files a/goldens/house-flat.jxl and b/goldens/house-flat.jxl differ diff --git a/goldens/house-straddle.jxl b/goldens/house-straddle.jxl index ec0da0b..85025d8 100644 Binary files a/goldens/house-straddle.jxl and b/goldens/house-straddle.jxl differ diff --git a/goldens/light-sources.jxl b/goldens/light-sources.jxl index 7d07620..3012c77 100644 Binary files a/goldens/light-sources.jxl and b/goldens/light-sources.jxl differ diff --git a/goldens/math-graphs.jxl b/goldens/math-graphs.jxl index bf72060..b2a054e 100644 Binary files a/goldens/math-graphs.jxl and b/goldens/math-graphs.jxl differ diff --git a/goldens/minimal.jxl b/goldens/minimal.jxl index b1322e9..1443bd8 100644 Binary files a/goldens/minimal.jxl and b/goldens/minimal.jxl differ diff --git a/goldens/obj-loader-city.jxl b/goldens/obj-loader-city.jxl index ddafb92..0f8ac84 100644 Binary files a/goldens/obj-loader-city.jxl and b/goldens/obj-loader-city.jxl differ diff --git a/goldens/octree.jxl b/goldens/octree.jxl index f92b87b..83086eb 100644 Binary files a/goldens/octree.jxl and b/goldens/octree.jxl differ diff --git a/goldens/raining-numbers.jxl b/goldens/raining-numbers.jxl index fc177e1..715bdef 100644 Binary files a/goldens/raining-numbers.jxl and b/goldens/raining-numbers.jxl differ diff --git a/goldens/rgb-cube.jxl b/goldens/rgb-cube.jxl index f8089f2..6e89f76 100644 Binary files a/goldens/rgb-cube.jxl and b/goldens/rgb-cube.jxl differ diff --git a/goldens/shape-gallery.jxl b/goldens/shape-gallery.jxl index f6c76cb..bdb5fd1 100644 Binary files a/goldens/shape-gallery.jxl and b/goldens/shape-gallery.jxl differ diff --git a/goldens/sine-heightmap.jxl b/goldens/sine-heightmap.jxl index d036af4..b1b7bb5 100644 Binary files a/goldens/sine-heightmap.jxl and b/goldens/sine-heightmap.jxl differ diff --git a/goldens/spacemouse.jxl b/goldens/spacemouse.jxl index 063710a..1b983f2 100644 Binary files a/goldens/spacemouse.jxl and b/goldens/spacemouse.jxl differ diff --git a/goldens/stereo.jxl b/goldens/stereo.jxl index bf456f4..e207626 100644 Binary files a/goldens/stereo.jxl and b/goldens/stereo.jxl differ diff --git a/goldens/terrain.jxl b/goldens/terrain.jxl index 6a993d4..991e1d4 100644 Binary files a/goldens/terrain.jxl and b/goldens/terrain.jxl differ diff --git a/goldens/text-editors-city.jxl b/goldens/text-editors-city.jxl index b90afad..a7f441b 100644 Binary files a/goldens/text-editors-city.jxl and b/goldens/text-editors-city.jxl differ diff --git a/goldens/text-editors.jxl b/goldens/text-editors.jxl index 11636c3..5a4ec8f 100644 Binary files a/goldens/text-editors.jxl and b/goldens/text-editors.jxl differ diff --git a/goldens/winding-order.jxl b/goldens/winding-order.jxl index 62f5acf..bb99570 100644 Binary files a/goldens/winding-order.jxl and b/goldens/winding-order.jxl differ diff --git a/src/main/java/eu/svjatoslav/aukio/e3d/examples/goldens/DemoGoldens.java b/src/main/java/eu/svjatoslav/aukio/e3d/examples/goldens/DemoGoldens.java index 79133ef..2b10679 100644 --- a/src/main/java/eu/svjatoslav/aukio/e3d/examples/goldens/DemoGoldens.java +++ b/src/main/java/eu/svjatoslav/aukio/e3d/examples/goldens/DemoGoldens.java @@ -67,8 +67,8 @@ import java.util.List; */ public class DemoGoldens { - private static final int WIDTH = 640; - private static final int HEIGHT = 480; + private static final int WIDTH = 1920; + private static final int HEIGHT = 1080; /** Per-channel tolerance — covers JPEG XL q98 codec noise, see class doc. */ private static final int CHANNEL_TOLERANCE = 16;