Class GaiaSceneRepair
java.lang.Object
com.gaia3d.converter.assimp.validation.GaiaSceneRepair
Repairs GaiaScene data based on issues detected by GaiaSceneValidator.
Textures : tries to locate missing textures near the source file; drops them if not found. Normals : regenerates per-vertex normals when invalid or suspiciously non-unit normals are found. Geometry : removes faces that reference NaN/Inf positions; resets non-finite batch IDs to 0. Faces : removes degenerate triangles (zero area or repeated indices).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrepair(GaiaSceneValidationReport report, List<GaiaScene> scenes)
-
Constructor Details
-
GaiaSceneRepair
public GaiaSceneRepair()
-
-
Method Details
-
repair
-