Skip to main content
GameDev.net gamedev.net
🔒 Locked

Penetration Depth

Started by leoptimus Oct 11, 2005 at 4:00 PM 1 replies 1.1k views
Original Post
leoptimus
leoptimus
On collision detection, How do you calcule penetration Depth between two trimeshes? Supose that is there an engine that intersects trimeshes like OPCODE or Coldet... and you need to simulate physics collision, so penetration depth is neede for resolving interpenetraton.
"Technocracy Rules With Supremacy" visit: http://gimpact.sourceforge.net
sbroumley
sbroumley
If by "trimesh" you mean arbitary polygon soup mesh with no restrictions then that is a very hard problem to solve. The only working solution I've seen that can handle this is distance maps. If you need more info on them I can explain further.

In order to retrieve penetration depth + normal, most collision systems place a restriction such that at least one of the collision shapes must be a convex hull (or collection of convex hulls fixed together).
Steve Broumley
leoptimus
leoptimus
Yeah.
May distance maps should work.
I think that Mr Rowl has that kind of solution.
He's build its engine avaliable on:
http://www.rowlhouse.co.uk/jiggle/

However... does OPCODE useful for physics simulations? Opcode integration on ODE is pour, inacurate and too slow.
"Technocracy Rules With Supremacy" visit: http://gimpact.sourceforge.net

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.