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; sixteen codes.

  • GEOMETRY_NO_POSITIONS missing positionsCompressed
  • GEOMETRY_POSITIONS_LENGTH length not divisible by 3
  • GEOMETRY_PRIMITIVE_UNSUPPORTED unsupported primitive constant
  • GEOMETRY_NORMALS_LENGTH length ≠ 2 × vertex count (oct-pairs)
  • GEOMETRY_UVS_LENGTH length ≠ 2 × vertex count
  • GEOMETRY_COLORS_LENGTH length ≠ 4 × vertex count
  • GEOMETRY_AABB_LENGTH missing or not six values
  • GEOMETRY_AABB_NONFINITE NaN / Infinity in AABB
  • GEOMETRY_AABB_INVERTED min > max on at least one axis
  • GEOMETRY_NO_INDICES indexed primitive has no indices
  • GEOMETRY_INDICES_LENGTH length doesn't match primitive stride
  • GEOMETRY_INDEX_OUT_OF_RANGE index ≥ vertex count
  • GEOMETRY_EDGE_INDICES_LENGTH edgeIndices length not divisible by 2
  • GEOMETRY_EDGE_INDEX_OUT_OF_RANGE edge index ≥ vertex count
  • GEOMETRY_SPLAT_SCALES_LENGTH scales length ≠ 3 × splat count
  • GEOMETRY_SPLAT_ROTATIONS_LENGTH rotations length ≠ 4 × splat count