collision library for raycasting triangle meshes
Posted: Wed Oct 18, 2006 6:41 pm
Hello,
For a project at my college I am integrating an haptic device in a 3D render engine. To detect collision between the 3D cursor and shapes I would like to use an external collision library.
Shapes can be either moving or static and ar build from triangle meshes (no primitives implemented thusfar).
I have implemented a system using Opcode and raycasting (using 4 rays per test), but it seems to miss some collisions every now and then, resulting in slipthrough (the cursor going through the surface) when the shape is complex.
Now I am looking for another library to test for collisions, but I see that triangle meshes difficult to use in Bullet.
Can I use Bullet and triangle meshes (or can I create complex compound objects to do this)? Or is any other library more suitable for this?
Hope somebody can help me, since it is fairly unknown matter at my college.
Regards,
Jorrit
For a project at my college I am integrating an haptic device in a 3D render engine. To detect collision between the 3D cursor and shapes I would like to use an external collision library.
Shapes can be either moving or static and ar build from triangle meshes (no primitives implemented thusfar).
I have implemented a system using Opcode and raycasting (using 4 rays per test), but it seems to miss some collisions every now and then, resulting in slipthrough (the cursor going through the surface) when the shape is complex.
Now I am looking for another library to test for collisions, but I see that triangle meshes difficult to use in Bullet.
Can I use Bullet and triangle meshes (or can I create complex compound objects to do this)? Or is any other library more suitable for this?
Hope somebody can help me, since it is fairly unknown matter at my college.
Regards,
Jorrit