Mesh modification in real time
Posted: Fri Oct 17, 2014 6:02 pm
I am working on a surgical simulation using BulletPhysics and so far the physics and collisions are working well.
I would now like to be able to drill holes into a bone. The bone is a mesh loaded from an .obj file. Does BulletPhysics have some built-in classes/functions that could help in this regard? I could not find anything in the demos that would help me with this. Basically, I would like to refine the mesh where the drill bit hits the bone, and then push some vertices below the surface of the bone to create the hole. (Meshmixer has an extrusion tool that does just that, but it doesn't seem to have an API.)
If not, I would appreciate any suggestion on how to proceed with this (other libraries, what algorithms to use, ...). Thanks!
I would now like to be able to drill holes into a bone. The bone is a mesh loaded from an .obj file. Does BulletPhysics have some built-in classes/functions that could help in this regard? I could not find anything in the demos that would help me with this. Basically, I would like to refine the mesh where the drill bit hits the bone, and then push some vertices below the surface of the bone to create the hole. (Meshmixer has an extrusion tool that does just that, but it doesn't seem to have an API.)
If not, I would appreciate any suggestion on how to proceed with this (other libraries, what algorithms to use, ...). Thanks!