Quantum 3 3.1.0

Classes | List of all members
Quantum.QuantumNavMesh.SeamRepair Class Reference

Repairs hairline seams in the intermediate navmesh data with three escalating passes: open (border) vertices that are nearly identical are welded into one, open edges are split at T-junction vertices that lie on their interior and remaining seams between two facing open edges are zipped by anchoring the ends of the hairline section: endpoint pairs across the gap are welded to their midpoint, a corner vertex of one side is inserted into the other side's edge and where the section end has no vertex at all (a vertex-free sliver) a new stitch vertex is created in the middle of the gap and inserted into both edges. The repair never moves geometry by more than the configured seam distance. Runs on the intermediate import data because triangle connectivity (portals) is established by shared vertex indices during baking, which also makes the repair immune to fixed point quantization. More...

Classes

class  Settings
 The seam repair and validation settings. More...
 

Detailed Description

Repairs hairline seams in the intermediate navmesh data with three escalating passes: open (border) vertices that are nearly identical are welded into one, open edges are split at T-junction vertices that lie on their interior and remaining seams between two facing open edges are zipped by anchoring the ends of the hairline section: endpoint pairs across the gap are welded to their midpoint, a corner vertex of one side is inserted into the other side's edge and where the section end has no vertex at all (a vertex-free sliver) a new stitch vertex is created in the middle of the gap and inserted into both edges. The repair never moves geometry by more than the configured seam distance. Runs on the intermediate import data because triangle connectivity (portals) is established by shared vertex indices during baking, which also makes the repair immune to fixed point quantization.