Commit Graph

2 Commits

Author SHA1 Message Date
Arseny Kapoulkine cb476c0d60 tools: Add simplification with pruning to fuzzer
This mostly tests connected components code for correctness on odd
topology and sparse inputs.
2024-09-24 15:38:42 -07:00
Arseny Kapoulkine ac83b3a5ac tools: Add simplifyfuzz to stress test simplifier
The code for classifying topology and using the resulting data is
getting a little more complicated and critical than it used to be; while
we can test it on a wide set of meshes with various strange topology, it
would also help to be able to fuzz it.

We build a vertex buffer that will occasionally have redundancy in it
due to random collisions, which will generate seam/locked vertices, and
use the rest of the fuzz input as an index buffer.
2024-09-19 13:33:52 -07:00