GIMPACT vs Convex Collision performance problem.

DevO
Posts: 95
Joined: Fri Mar 31, 2006 7:13 pm

GIMPACT vs Convex Collision performance problem.

Post by DevO »

I am using now GIMPACTBullet connection.
GIMPACT vs GIMPACT is really fast.
But I and have noticed that collision of GIMPACT with simple Bullet convex shape like Box can be really slow.

If btIDebugDraw::DBG_DrawWireframe is enabled the whole GIMPACT mesh will be yellow indicates that all triangles will be tested vs box.

Do some one have ideas how to fix this?
DevO
Posts: 95
Joined: Fri Mar 31, 2006 7:13 pm

Post by DevO »

Nobody, any idea???
User avatar
projectileman
Posts: 109
Joined: Thu Dec 14, 2006 4:27 pm
Location: Colombia

Post by projectileman »

Yes, that happens in the earlier version of GIMPACT with Bullet integration. It is caused by a mistake of the Collision Dispatcher which doesn't handle well compound shapes vs GIMPACT trimeshes: actually it tests all triangles vs each sub shape.


I've fixed these issues in the new version of GIMPACT, which will be released soon in July. This version could be considered an improvement to the Bullet engine, and some of the new features are:

- Works more closely with Bullet. It uses Bullet types and uses some bullet collision algorithms.

- C++ object oriented.

- Generic Bounding box Tree structure for colliding large sets of shapes (Compounds and Trimeshes) ; works similar to the btOptimizedBvh, but it has the capability of collide two Tree sets. Also supports Primitive Vs Node Collision for improving performance.

- Trimeshes work closely with the btStridingMeshInterface objects. Data won't be duplicated anymore, and many Bodies can share the same trimesh.


Well, I hope release this library soon. Any ideas?
Thanks,
Att: Francisco León
DevO
Posts: 95
Joined: Fri Mar 31, 2006 7:13 pm

Post by DevO »

Thanks, all this sound very well!!!

I hope too this will be release soon!!!

Until some small problems this is (was) the most problem in my Bullet integration.
chrislu
Posts: 3
Joined: Fri Jun 22, 2007 6:39 am

Post by chrislu »

hi,
is the GIMPACT 0.2 release the one with these improvements?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

It looks like it, and I just merged the contribution into Bullet Subversion, so it will be available from Bullet 2.54 too.

Thanks,
Erwin