[PR #13] [MERGED] Compare actual terrain quality and shader state in game benchmarks #2261

Closed
opened 2026-11-02 15:54:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/13
Author: @ludovic111
Created: 10/3/2026
Status: ✅ Merged
Merged: 10/3/2026
Merged by: @ludovic111

Base: main ← Head: terrain-quality-measurements


📝 Commits (1)

  • 7751075 Capture effective terrain quality and shader state at benchmark boundaries

📊 Changes

13 files changed (+277 additions, -17 deletions)

View changed files

📝 README.md (+5 -1)
➕ docs/terrain-measurements.md (+37 -0)
➕ mods/horizon-lab/src/main/java/dev/horizonlab/client/DistantTerrainSettings.java (+46 -0)
📝 mods/horizon-lab/src/main/java/dev/horizonlab/client/HorizonClient.java (+39 -12)
➕ mods/horizon-lab/src/main/java/dev/horizonlab/client/ShaderSettings.java (+28 -0)
📝 mods/horizon-lab/src/main/resources/fabric.mod.json (+1 -1)
➕ mods/horizon-lab/src/test/java/dev/horizonlab/client/DistantTerrainSettingsTest.java (+59 -0)
📝 packs/START-HERE.txt (+7 -0)
📝 packs/mods.lock.json (+1 -1)
📝 tests/test_packs.py (+16 -0)
📝 tools/Compare-Benchmarks.html (+18 -1)
📝 tools/build_mod.py (+3 -0)
📝 tools/compare_benchmarks.py (+17 -1)

📄 Description

A profile name did not establish the actual distant-terrain radius/quality or shader state used during a benchmark. Frame reports now capture effective DH API settings (including overrides), worker count/duty cycle, base FOV and optional Iris state. Visual snapshots at start/end flag changed settings; expected adaptive duty-cycle changes remain separate. Missing APIs are reported unavailable.

The CLI and offline viewer compare terrain/shader quality, disclose different controller/worker settings as experiment variables, flag detected within-run changes, and mark older metadata as unknown. Snapshots do not prove geometry completion or detect a setting restored before the end. No per-frame polling or configuration mutation is added.

Validation: all CI jobs passed on Ubuntu, Windows and Apple Silicon macOS 26. Local upstream-API adapter tests and 23 Python checks cover effective values, unavailable APIs and comparison mismatches. The exact release JAR ran in a baseline client (383 frames/26.7 seconds) and a DH+Iris client (246 frames/43.0 seconds), both with zero excluded frames, matching CSV counts and unchanged visual snapshots. Baseline correctly reported absent optional mods; DH+Iris reported a 128-chunk radius, MEDIUM/MEDIUM quality, BLOCK resolution, two workers, FOV 70 and installed-but-disabled Iris shaders. Both worlds saved and closed normally. Browser checks cover real metadata, changed radius/shaders, within-run changes, legacy warnings, escaped pack names and 390-pixel layout. These short software-rendered runs validate reporting; they are not performance comparisons or M2 results.

Prepares v0.12.0. No FPS or whole-game RAM gain is claimed for this reporting change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/13 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/3/2026 **Status:** ✅ Merged **Merged:** 10/3/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `terrain-quality-measurements` --- ### 📝 Commits (1) - [`7751075`](https://github.com/horizon-rust/horizon/commit/77510755bfb18ceeeda59be43ec571a94551e2e1) Capture effective terrain quality and shader state at benchmark boundaries ### 📊 Changes **13 files changed** (+277 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -1) ➕ `docs/terrain-measurements.md` (+37 -0) ➕ `mods/horizon-lab/src/main/java/dev/horizonlab/client/DistantTerrainSettings.java` (+46 -0) 📝 `mods/horizon-lab/src/main/java/dev/horizonlab/client/HorizonClient.java` (+39 -12) ➕ `mods/horizon-lab/src/main/java/dev/horizonlab/client/ShaderSettings.java` (+28 -0) 📝 `mods/horizon-lab/src/main/resources/fabric.mod.json` (+1 -1) ➕ `mods/horizon-lab/src/test/java/dev/horizonlab/client/DistantTerrainSettingsTest.java` (+59 -0) 📝 `packs/START-HERE.txt` (+7 -0) 📝 `packs/mods.lock.json` (+1 -1) 📝 `tests/test_packs.py` (+16 -0) 📝 `tools/Compare-Benchmarks.html` (+18 -1) 📝 `tools/build_mod.py` (+3 -0) 📝 `tools/compare_benchmarks.py` (+17 -1) </details> ### 📄 Description A profile name did not establish the actual distant-terrain radius/quality or shader state used during a benchmark. Frame reports now capture effective DH API settings (including overrides), worker count/duty cycle, base FOV and optional Iris state. Visual snapshots at start/end flag changed settings; expected adaptive duty-cycle changes remain separate. Missing APIs are reported unavailable. The CLI and offline viewer compare terrain/shader quality, disclose different controller/worker settings as experiment variables, flag detected within-run changes, and mark older metadata as unknown. Snapshots do not prove geometry completion or detect a setting restored before the end. No per-frame polling or configuration mutation is added. Validation: all CI jobs passed on Ubuntu, Windows and Apple Silicon macOS 26. Local upstream-API adapter tests and 23 Python checks cover effective values, unavailable APIs and comparison mismatches. The exact release JAR ran in a baseline client (383 frames/26.7 seconds) and a DH+Iris client (246 frames/43.0 seconds), both with zero excluded frames, matching CSV counts and unchanged visual snapshots. Baseline correctly reported absent optional mods; DH+Iris reported a 128-chunk radius, MEDIUM/MEDIUM quality, BLOCK resolution, two workers, FOV 70 and installed-but-disabled Iris shaders. Both worlds saved and closed normally. Browser checks cover real metadata, changed radius/shaders, within-run changes, legacy warnings, escaped pack names and 390-pixel layout. These short software-rendered runs validate reporting; they are not performance comparisons or M2 results. Prepares v0.12.0. No FPS or whole-game RAM gain is claimed for this reporting change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:54:28 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2261
No description provided.