Skip to content

docs: grade the gl fog-surface polygon matrix at native size - #5200

Merged
jakildev merged 1 commit into
masterfrom
claude/4813-gl-fog-native-placements
Nov 19, 2026
Merged

jakildev merged 1 commit into
masterfrom
claude/4813-gl-fog-native-placements

Conversation

@jakildev

Copy link
Copy Markdown
Owner

Summary

Acceptance evidence

Criterion Check run Observed
IRFogDemo route witnesses, CLEAN, no GL compile/link errors PR #4853 (drivers/fogdemo.py.txt, master a6b9953c3) Met in #4853, not re-run here. 16/16 RESULT=CLEAN. The compose and fallback routes match Metal.
Polygon oracle 0/0/0 at every placement and yaw, opt-in on, fog16, --sun-ambient and local-light (lit/dark) arms included drivers/matrix.py.txt → drivers/grade.py.txt → polygon/results.json, native 2560×1440 Met at 16 of 18 placements. 8 origin in #4853. 8 near/mid here: 32/32 rows at 0/0/0 across default, 0.15, 0.55 and local, each count dict equal to Metal's. Unmet at subpos/subneg: 21/26/0 in all 8 rows (Metal 0/0/0), caused by #5190.
Opt-in-off fallback arms reproduce their recorded failing counts same drivers, --surface 0 near/mid: 32/32 reproduce Metal's 18/644, 22/660, 18/638 and 32/650 exactly. subpos/subneg: 28/647/0 against Metal's 18/638/0 (8 rows), the same #5190 offset.
The sub-pixel miss is outside the fog-composing twins --fog-reveal 0 opt-in-on arm + drivers/shift_probe.py.txt The fog-off arm (fog=none fogComposed=0) gives 21/26/0 at the identical 47 pixels. A one-row whole-frame shift (0, −1) grades 0/0/0 at both placements.
IrredenEngineTest --gtest_filter='Fog*:SurfaceFogRoute.*:PerAxisSurfaceLighting*' passes on Windows fleet-run IrredenEngineTest --gtest_filter=… at 00b5da049 Met. [ PASSED ] 245 tests. / RESULT=CLEAN (engine-test.log).
Reviewer notes

Plan departures

Notes for reviewer

  • 122 captures, all RESULT=CLEAN. grade.py audits each one: exactly one frame with the recorded hash, a SURFACE-ROUTE line, OpenGL offscreen screen target attached (2560x1440), and 0 GL error lines. All 122 pass.
  • Two captures first exited 0xC0000142 with an empty log, which is a process-start failure on a contended host. The matrix re-captured them, and the retained rows are the clean re-runs.
  • The drivers' absolute paths are this host's scratch. PNGs are decoded by the stdlib shim kept with them, since Pillow is not installed here.

Refs #4813

🤖 Generated with Claude Code

The receiver-shadow polygon oracle now reads the 10 non-origin
placements on Windows/OpenGL at native 2560x1440, which #4852's
offscreen fix makes possible. near and mid equal Metal's count
dictionaries in every palette, opt-in on (0/0/0) and off (the
recorded fallback counts).

subpos and subneg miss by 21/26 opt-in on and by 28/647 against 18/638
opt-in off. The fog-off arm fails at the same 47 pixels, and shifting
the frame up one row grades 0/0/0. So the cause is a whole-frame y
placement on GL with a fractional camera residual, outside the fog
twins. That defect is #5190, and issue 4813 stays open until it lands.

Refs #4813

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-windows PR was opened from a Windows (MSYS2) host labels Nov 19, 2026

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs: grade the gl fog-surface polygon matrix at native size

Verdict: approve

The evidence is internally consistent, accurately leaves the unresolved sub-pixel defect outside this evidence-only PR, and does not claim to close the still-open source issue.

Checked

  • Read the full PR and issue threads for #4813 and the scoped follow-up #5190, plus the complete current-head diff at 2a3bcd69fa7182497ee8d6dffbbe22d3e52159ca.
  • Inspected the capture, matrix, grading, and shift-probe drivers. The grade data records 122 clean captures, no audit problems, 82 graded rows, and the expected 18 mismatches confined to the documented sub-pixel cases and their fallback controls.
  • Independently verified all four retained PNG hashes and their 2560×1440 dimensions against their capture records.
  • git diff --check origin/master...HEAD passed. All current PR checks are successful; this PR has no code change and cites Windows evidence rather than claiming local execution.

🤖 Reviewed by Codex GPT-5 (review-pr skill)
Opus recheck not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:approved Fleet reviewer approved — ready for human merge fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-windows PR was opened from a Windows (MSYS2) host

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant