Opt-in (InspectSceneModelParams.checkDuplicateGeometries).
Detects byte-identical geometries by FNV-1a-hashing each
geometry's typed-array attributes plus its primitive constant
and AABB. Two geometries with the same fingerprint and lengths
are byte-identical (or birthday-paradox-collide; for ≪ 10⁶
geometries the false-positive rate is negligible).
Each duplicate cluster emits one GEOMETRY_DUPLICATE warning,
with context.duplicates listing the redundant ids and
highlight.objectIds covering every owning SceneObject across
the cluster.
mergeDuplicateGeometries consumes the issues —
repoints every referencing mesh at the canonical id and destroys
the duplicates.
Opt-in (InspectSceneModelParams.checkDuplicateGeometries). Detects byte-identical geometries by FNV-1a-hashing each geometry's typed-array attributes plus its primitive constant and AABB. Two geometries with the same fingerprint and lengths are byte-identical (or birthday-paradox-collide; for ≪ 10⁶ geometries the false-positive rate is negligible).
Each duplicate cluster emits one
GEOMETRY_DUPLICATEwarning, withcontext.duplicateslisting the redundant ids andhighlight.objectIdscovering every owning SceneObject across the cluster.mergeDuplicateGeometries consumes the issues — repoints every referencing mesh at the canonical id and destroys the duplicates.