Variable geometryDataIntegrityConst

geometryDataIntegrity: inspect.sceneModel.Inspection = ...

Walks every SceneGeometry in the SceneModel and emits data-shape errors that the renderer or downstream optimisations can't safely tolerate. One pass; eight codes.

  • GEOMETRY_NO_POSITIONS missing positionsCompressed
  • GEOMETRY_POSITIONS_LENGTH length not divisible by 3
  • GEOMETRY_NORMALS_LENGTH length ≠ 2 × vertex count (oct-pairs)
  • GEOMETRY_UVS_LENGTH length ≠ 2 × vertex count
  • GEOMETRY_AABB_NONFINITE NaN / Infinity in AABB
  • GEOMETRY_AABB_INVERTED min > max on at least one axis
  • GEOMETRY_INDICES_LENGTH length doesn't match primitive stride
  • GEOMETRY_INDEX_OUT_OF_RANGE index ≥ vertex count