Commit Graph

3 Commits

Author SHA1 Message Date
e5f742680e bvh_geometry_check: catch NaN leaf bounds, infinite-bound override tolerance blow-up, invalid --geom, and strict JSON (BVH-GEOMETRY-CHECK-NAN-INF-GEOM) 2026-11-25 01:05:53 +01:00
09a3c58e2d Guard bvh_geometry_check JSON output against input aliases 2026-11-22 23:03:38 +01:00
7b5ac4d929 tools/bvh_geometry_check.py: check a rehydration's geometry against what the BLAS stores
Bounds (leaves inside and equal to sceneBounds in the leaf frame), stored box overrides (inside the rehydrated slot and no looser, within 4 float32 ulps), paired leaves sharing an edge in the index buffer (position-free) and the internal box area as a tie-break, from docs/bvh.md §4a. On the 8 local samples the right geometry passes everything and a wrong decode fails. Six synthetic tests.
2026-11-22 18:48:56 +01:00