Reduce ghosts (#212)
Full ghost collision handling for sphere, capsule, and hull versus a single mesh or heightfield. This requires mesh to be built with edge identification. Optimized mesh builder. Removed B3_MAX_MESH_CONTACT_TRIANGLES. You will still hit performance problems for dense meshes. Fixes #184
This commit is contained in:
parent
3362633204
commit
38f2ae1e19
61 changed files with 17756 additions and 1492 deletions
105
benchmark/ghost_baseline.csv
Normal file
105
benchmark/ghost_baseline.csv
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
scene,preset,mirror,body,ghosts,runs
|
||||
flat,0,0,box,0,2
|
||||
flat,0,0,capsule,0,2
|
||||
flat,0,0,upright,0,2
|
||||
flat,0,0,sphere,0,2
|
||||
flat,0,0,cylinder,0,2
|
||||
flat,0,1,box,0,2
|
||||
flat,0,1,capsule,0,2
|
||||
flat,0,1,upright,0,2
|
||||
flat,0,1,sphere,0,2
|
||||
flat,0,1,cylinder,0,2
|
||||
ramp,0,0,box,0,3
|
||||
ramp,0,0,capsule,0,3
|
||||
ramp,0,0,upright,0,3
|
||||
ramp,0,0,sphere,0,3
|
||||
ramp,0,0,cylinder,0,3
|
||||
ramp,0,1,box,0,3
|
||||
ramp,0,1,capsule,0,3
|
||||
ramp,0,1,upright,0,3
|
||||
ramp,0,1,sphere,0,3
|
||||
ramp,0,1,cylinder,0,3
|
||||
cliff,0,0,box,0,2
|
||||
cliff,0,0,capsule,0,2
|
||||
cliff,0,0,upright,0,2
|
||||
cliff,0,0,sphere,0,2
|
||||
cliff,0,0,cylinder,0,2
|
||||
cliff,0,1,box,0,2
|
||||
cliff,0,1,capsule,0,2
|
||||
cliff,0,1,upright,0,2
|
||||
cliff,0,1,sphere,0,2
|
||||
cliff,0,1,cylinder,0,2
|
||||
crest,0,0,box,0,2
|
||||
crest,0,0,capsule,0,2
|
||||
crest,0,0,upright,0,2
|
||||
crest,0,0,sphere,0,2
|
||||
crest,0,0,cylinder,0,2
|
||||
crest,0,1,box,0,2
|
||||
crest,0,1,capsule,0,2
|
||||
crest,0,1,upright,0,2
|
||||
crest,0,1,sphere,0,2
|
||||
crest,0,1,cylinder,0,2
|
||||
bumps,0,0,box,0,1
|
||||
bumps,0,0,capsule,0,1
|
||||
bumps,0,0,upright,0,1
|
||||
bumps,0,0,sphere,0,1
|
||||
bumps,0,0,cylinder,0,1
|
||||
bumps,0,1,box,0,1
|
||||
bumps,0,1,capsule,0,1
|
||||
bumps,0,1,upright,0,1
|
||||
bumps,0,1,sphere,0,1
|
||||
bumps,0,1,cylinder,0,1
|
||||
peel,0,0,box,0,2
|
||||
peel,0,0,capsule,0,2
|
||||
peel,0,0,upright,0,2
|
||||
peel,0,0,sphere,0,2
|
||||
peel,0,0,cylinder,0,2
|
||||
peel,0,1,box,0,2
|
||||
peel,0,1,capsule,0,2
|
||||
peel,0,1,upright,0,2
|
||||
peel,0,1,sphere,0,2
|
||||
peel,0,1,cylinder,0,2
|
||||
peel,1,0,box,0,2
|
||||
peel,1,0,capsule,0,2
|
||||
peel,1,0,upright,0,2
|
||||
peel,1,0,sphere,0,2
|
||||
peel,1,0,cylinder,0,2
|
||||
peel,1,1,box,0,2
|
||||
peel,1,1,capsule,0,2
|
||||
peel,1,1,upright,0,2
|
||||
peel,1,1,sphere,0,2
|
||||
peel,1,1,cylinder,0,2
|
||||
peel,2,0,box,0,2
|
||||
peel,2,0,capsule,0,2
|
||||
peel,2,0,upright,0,2
|
||||
peel,2,0,sphere,0,2
|
||||
peel,2,0,cylinder,0,2
|
||||
peel,2,1,box,0,2
|
||||
peel,2,1,capsule,0,2
|
||||
peel,2,1,upright,0,2
|
||||
peel,2,1,sphere,0,2
|
||||
peel,2,1,cylinder,0,2
|
||||
peel,3,0,box,0,2
|
||||
peel,3,0,capsule,0,2
|
||||
peel,3,0,upright,0,2
|
||||
peel,3,0,sphere,0,2
|
||||
peel,3,0,cylinder,0,2
|
||||
peel,3,1,box,0,2
|
||||
peel,3,1,capsule,0,2
|
||||
peel,3,1,upright,0,2
|
||||
peel,3,1,sphere,0,2
|
||||
peel,3,1,cylinder,0,2
|
||||
chamfer,0,0,box,0,2
|
||||
chamfer,0,0,cylinder,0,2
|
||||
chamfer,0,1,box,0,2
|
||||
chamfer,0,1,cylinder,0,2
|
||||
rail,0,0,box,0,2
|
||||
rail,0,0,capsule,0,2
|
||||
rail,0,0,upright,0,5
|
||||
rail,0,0,sphere,0,4
|
||||
rail,0,0,cylinder,0,3
|
||||
rail,0,1,box,0,2
|
||||
rail,0,1,capsule,0,2
|
||||
rail,0,1,upright,0,5
|
||||
rail,0,1,sphere,0,4
|
||||
rail,0,1,cylinder,0,3
|
||||
|
Loading…
Reference in a new issue