Softbody cutting possible with Bullet ?

Post Reply
Korcan
Posts: 7
Joined: Mon Sep 21, 2015 10:26 am

Softbody cutting possible with Bullet ?

Post by Korcan »

Hi,

I want to achive this result:
https://www.youtube.com/watch?v=vqGyIXsPT5E

Is softbody cutting possible with bullet ?

I am planning to use tetrahedral mesh data with some kind of brush shape and cut soft body.

Sorry for my bad english

Best Wishes,
Thanks
User avatar
drleviathan
Posts: 849
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: Softbody cutting possible with Bullet ?

Post by drleviathan »

No, that real-time softbody cut simulation feature is not included in Bullet yet. Bullet could probably do the stretching response but the cutting would have to be new custom code.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Softbody cutting possible with Bullet ?

Post by Erwin Coumans »

Yes, the BulletSoftBody has some cutting features. In some of the demos, you can click on the soft body to make a cut.

The mouse interaction is not enabled in the new Bullet Example Browser, so you need to try it in the old demos in Bullet 2.82:
https://github.com/bulletphysics/bullet3/releases

Then compile and run BulletSoftDemo and select demo 19 using the [ or key and click on the mesh. It might only be implemented for surface soft bodies, not tetrahedral meshes.
cut2.png
cut2.png (257.51 KiB) Viewed 8531 times
Xcoder79
Posts: 42
Joined: Sun Aug 07, 2011 5:27 am

Re: Softbody cutting possible with Bullet ?

Post by Xcoder79 »

Tetrahedral mesh cutting is possible Using Bullet with some modifications to the source code I was able to do this awhile ago below is a link to show the example


https://m.youtube.com/watch?v=y6qVM0N42es
johnsonalpha
Posts: 73
Joined: Fri May 01, 2015 8:23 pm

Re: Softbody cutting possible with Bullet ?

Post by johnsonalpha »

Xcoder79 wrote:Tetrahedral mesh cutting is possible Using Bullet with some modifications to the source code I was able to do this awhile ago below is a link to show the example


https://m.youtube.com/watch?v=y6qVM0N42es

Can you please post your modifications of the code for tetrahedral cutting it would help the community greatly!
Xcoder79
Posts: 42
Joined: Sun Aug 07, 2011 5:27 am

Re: Softbody cutting possible with Bullet ?

Post by Xcoder79 »

Yes for sure, just send me a pm message.
Last edited by Xcoder79 on Fri Jul 08, 2016 8:43 pm, edited 1 time in total.
Korcan
Posts: 7
Joined: Mon Sep 21, 2015 10:26 am

Re: Softbody cutting possible with Bullet ?

Post by Korcan »

Wow :) Thanks for all responses.
Post Reply