Added some fallbacks. Update goldens

This commit is contained in:
Erin Catto 2026-11-09 23:14:54 -08:00
commit 98147a2188
6 changed files with 267 additions and 22 deletions

View file

@ -21,25 +21,25 @@
#if defined( BOX3D_DOUBLE_PRECISION )
#define RAGDOLL_SLEEP_STEP 282
#define RAGDOLL_HASH 0x6E4B13AD
#define WAVE_PILE_SLEEP_STEP 349
#define WAVE_PILE_HASH 0x9AD0EB48
#define WAVE_PILE_SLEEP_STEP 315
#define WAVE_PILE_HASH 0x15007937
#define QUERY_SPAWN_SLEEP_STEP 242
#define QUERY_SPAWN_HASH 0x489585E6
#define QUERY_SPAWN_HIT_COUNT 59
#define QUERY_SPAWN_QUERY_HASH 0x5B4429DC
#define MESH_DROP_SLEEP_STEP 197
#define MESH_DROP_HASH 0xBCCE1A08
#define MESH_DROP_HASH 0x5DA091C3
#else
#define RAGDOLL_SLEEP_STEP 277
#define RAGDOLL_HASH 0x5E042B6E
#define WAVE_PILE_SLEEP_STEP 353
#define WAVE_PILE_HASH 0xC1BEDCBA
#define WAVE_PILE_SLEEP_STEP 455
#define WAVE_PILE_HASH 0x854F313D
#define QUERY_SPAWN_SLEEP_STEP 242
#define QUERY_SPAWN_HASH 0xF3AD9BA6
#define QUERY_SPAWN_HIT_COUNT 59
#define QUERY_SPAWN_QUERY_HASH 0xE3271F3D
#define MESH_DROP_SLEEP_STEP 197
#define MESH_DROP_HASH 0x4EC0324E
#define MESH_DROP_HASH 0x96D47D4F
#endif
// The goldens above pin exact values for the default four point manifold. A build that

View file

@ -1315,13 +1315,12 @@ static int MeshVertexRing( void )
// counts belong to the first ORACLE_SCAN_POSES poses, so a change to a scene or to the pose stream moves
// them without the collider changing. Lower a budget when a case is fixed.
//
// The two misses examined so far: the cluster reduction keeps spread rather than the deepest point, so a
// snapped neighbor joining the cluster pushed the deepest point out (flat pose 416), and a contact
// against a boundary edge from the side was dropped (crest pose 377).
// The remaining ghost, wave pose 291, is a hull face normal admitted by a vertex cone with the deepest
// point half a linear slop from the vertex, where the oracle only accepts the normal at the vertex.
static int MeshGhostOracle( void )
{
int ghostBudget[e_oracleSceneCount] = { 0, 0, 0, 0, 0, 0, 0, 1 };
int missedBudget[e_oracleSceneCount] = { 1, 0, 1, 3, 2, 1, 1, 3 };
int missedBudget[e_oracleSceneCount] = { 0, 0, 0, 0, 0, 0, 0, 0 };
for ( int scene = 0; scene < e_oracleSceneCount; ++scene )
{