You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make uv-layer-grid self-witness its render and restage the clipped hero (#86)
The still was the visual proof of the hazard but nothing asserted its
pixels, and both panels were clipped by the frame. The script now
re-reads its own render at each panel's projected center — the hazard
panel must be one flat teal (spread <= 0.02, b>g>r) and the repair a
high-contrast checker (spread >= 0.25) — falsified twice with measured
errors. Restaged per VISUAL-STYLE: both panels fully in frame and
grounded, contained warm wedge, mean luminance 0.274 inside the
calibration range. Verified live on 5.1.2 and 4.5.11 LTS.
Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
<pclass="teaches">The UV-layer authoring hazard — bmesh.ops.create_grid(..., calc_uvs=True) is a silent no-op unless a UV layer already exists; without one an Image Texture samples texel (0,0) everywhere.</p>
446
-
<pclass="witnesses"><spanclass="tag">witnesses</span> calc_uvs=True alone leaves 0 UV layers; pre-create + calc_uvs fills loops to the closed-form grid UVs ((x/size+1)/2, (y/size+1)/2) within 1e-6; explicit loop assignment is the calc_uvs-free fallback.</p>
446
+
<pclass="witnesses"><spanclass="tag">witnesses</span> calc_uvs=True alone leaves 0 UV layers; pre-create + calc_uvs fills loops to the closed-form grid UVs ((x/size+1)/2, (y/size+1)/2) within 1e-6; explicit loop assignment is the calc_uvs-free fallback. The still is self-witnessing: the script re-reads its render and exits non-zero unless the hazard panel is one flat teal and the repaired panel a high-contrast checker.</p>
447
447
<aclass="card-link" href="uv-layer-grid/">View example <spanaria-hidden="true">→</span></a>
Copy file name to clipboardExpand all lines: examples/gallery.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -264,7 +264,7 @@
264
264
"name": "uv-layer-grid",
265
265
"dir": "examples/uv-layer-grid",
266
266
"teaches": "The UV-layer authoring hazard \u2014 bmesh.ops.create_grid(..., calc_uvs=True) is a silent no-op unless a UV layer already exists; without one an Image Texture samples texel (0,0) everywhere.",
267
-
"witnessesFix": "calc_uvs=True alone leaves 0 UV layers; pre-create + calc_uvs fills loops to the closed-form grid UVs ((x/size+1)/2, (y/size+1)/2) within 1e-6; explicit loop assignment is the calc_uvs-free fallback.",
267
+
"witnessesFix": "calc_uvs=True alone leaves 0 UV layers; pre-create + calc_uvs fills loops to the closed-form grid UVs ((x/size+1)/2, (y/size+1)/2) within 1e-6; explicit loop assignment is the calc_uvs-free fallback. The still is self-witnessing: the script re-reads its render and exits non-zero unless the hazard panel is one flat teal and the repaired panel a high-contrast checker.",
0 commit comments