faster mesh edge identification
fix for cylinder tunneling in soak
This commit is contained in:
parent
1170814dee
commit
b2747eb2b8
9 changed files with 93 additions and 136 deletions
|
|
@ -59,16 +59,6 @@ tjunction,0,1,capsule,0,2
|
|||
tjunction,0,1,upright,0,2
|
||||
tjunction,0,1,sphere,0,2
|
||||
tjunction,0,1,cylinder,0,2
|
||||
seam,0,0,box,0,2
|
||||
seam,0,0,capsule,0,2
|
||||
seam,0,0,upright,0,2
|
||||
seam,0,0,sphere,0,2
|
||||
seam,0,0,cylinder,2,2
|
||||
seam,0,1,box,2,2
|
||||
seam,0,1,capsule,0,2
|
||||
seam,0,1,upright,0,2
|
||||
seam,0,1,sphere,0,2
|
||||
seam,0,1,cylinder,0,2
|
||||
peel,0,0,box,0,2
|
||||
peel,0,0,capsule,0,2
|
||||
peel,0,0,upright,0,2
|
||||
|
|
|
|||
|
|
|
@ -59,16 +59,6 @@ tjunction,0,1,capsule,0,2
|
|||
tjunction,0,1,upright,0,2
|
||||
tjunction,0,1,sphere,0,2
|
||||
tjunction,0,1,cylinder,0,2
|
||||
seam,0,0,box,0,2
|
||||
seam,0,0,capsule,0,2
|
||||
seam,0,0,upright,6,2
|
||||
seam,0,0,sphere,0,2
|
||||
seam,0,0,cylinder,3,2
|
||||
seam,0,1,box,2,1
|
||||
seam,0,1,capsule,0,2
|
||||
seam,0,1,upright,0,2
|
||||
seam,0,1,sphere,0,2
|
||||
seam,0,1,cylinder,0,2
|
||||
peel,0,0,box,0,2
|
||||
peel,0,0,capsule,0,2
|
||||
peel,0,0,upright,0,2
|
||||
|
|
|
|||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <string.h>
|
||||
|
||||
// Command line and result file keys
|
||||
static const char* s_sceneKeys[e_ghostSceneCount] = { "flat", "ramp", "cliff", "crest", "bumps", "tjunction", "seam", "peel" };
|
||||
static const char* s_sceneKeys[e_ghostSceneCount] = { "flat", "ramp", "cliff", "crest", "bumps", "tjunction", "peel" };
|
||||
static const char* s_bodyKeys[e_ghostBodyCount] = { "box", "capsule", "upright", "sphere", "cylinder" };
|
||||
|
||||
#define MAX_CONFIGS 256
|
||||
|
|
@ -270,7 +270,7 @@ int main( int argc, char** argv )
|
|||
{
|
||||
printf( "Usage: ghost_scan [options]\n"
|
||||
"Runs the Ghost Collisions sample headless and counts ghost manifolds per scene and body.\n"
|
||||
" -s, --scene=<key|all> flat, ramp, cliff, crest, bumps, tjunction, seam, peel (default all)\n"
|
||||
" -s, --scene=<key|all> flat, ramp, cliff, crest, bumps, tjunction, peel (default all)\n"
|
||||
" -b, --body=<key|all> box, capsule, upright, sphere, cylinder (default all)\n"
|
||||
" -m, --mirror=<0|1|all> mirrored mesh (default all)\n"
|
||||
" -p, --preset=<0-3|all> PEEL preset (default all)\n"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
filter,base,generations,shape,tunnels,awake,depth4,depth8,depth16,depth32
|
||||
all,12345,1000,box,0,0,1536,214,2,0
|
||||
all,12345,1000,capsule,0,0,14474,3477,28,0
|
||||
all,12345,1000,cylinder,0,0,11200,2338,36,0
|
||||
all,12345,1000,box,0,0,1544,220,4,0
|
||||
all,12345,1000,capsule,0,0,14505,3487,28,0
|
||||
all,12345,1000,cylinder,0,0,11228,2355,37,0
|
||||
all,12345,1000,sphere,0,0,56,0,0,0
|
||||
all,12345,16000,box,0,0,23701,3164,43,0
|
||||
all,12345,16000,capsule,0,0,231138,54408,513,0
|
||||
all,12345,16000,cylinder,0,0,179066,37366,473,0
|
||||
all,12345,16000,sphere,0,0,989,0,0,0
|
||||
all,12345,16000,box,0,0,23648,3205,46,0
|
||||
all,12345,16000,capsule,0,0,231483,54547,515,0
|
||||
all,12345,16000,cylinder,0,0,179103,37448,485,0
|
||||
all,12345,16000,sphere,0,0,987,0,0,0
|
||||
|
|
|
|||
|
Loading…
Reference in a new issue