Re: [Bf-committers] It's time to get rid of cloth

2020-11-02 Thread Brecht Van Lommel via Bf-committers
To be clear, cloth simulaton does use an implicit solver, including ideas from the Baraff paper like filtered CG. For volumetric soft bodies, there was a summer of code project this year. It uses an implicit solver. However it's not currently in a state that is good enough to go into master. https

Re: [Bf-committers] It's time to get rid of cloth

2020-11-02 Thread bjornmose via Bf-committers
Well, my last contribution was ' old man grumbling' to be more constructive I'd like point to the issues to be focused on: We do have stiff PDEs ODEs to solve. We know very well, that common forward solvers perform very poor under 'stiff' conditions. David Baraff proposed using 'implicit backwa

Re: [Bf-committers] It's time to get rid of cloth

2020-11-02 Thread Brecht Van Lommel via Bf-committers
The paper shows how to make SDF collision more accurate by using the SDF directly rather than sampling it. We have triangle mesh based collision in Blender, which in a state-of-the-art implementation would avoid those problems already. The point of switching to SDFs would be performance, at the co

Re: [Bf-committers] It's time to get rid of cloth

2020-11-02 Thread Aaron Carlisle via Bf-committers
Hi looking at this thread I wonder if anyone has looked into implementing SDF based collision detection in Blender. It seems to be quite a bit more stable than sample based detection. Here is a recent paper on the topic [1] 1. https://mmacklin.com/sdfcontact.p

Re: [Bf-committers] It's time to get rid of cloth

2020-10-21 Thread bjornmose via Bf-committers
Might it be, that old experienced coders knowing physics and all the other things about stiff differential equations turned their back to blender development? May be because lack of time .. may be an ignored patch proposal .. for those do not have the time at hand to provide elaborated solutions?

Re: [Bf-committers] It's time to get rid of cloth

2020-10-20 Thread Joe Eagar via Bf-committers
Brecht, you can avoid the worst numerical instability issues of CCD by adding a small repulsion force when cloth is in close proximity with geometry. IIRC most commercial cloth sims do this. Ton, I'm sorry I blew up. Cloth collision is something of a special nightmare for me. Sergej, that's fai

Re: [Bf-committers] It's time to get rid of cloth

2020-10-20 Thread Daniel Seita via Bf-committers
Hi all, I haven't emailed on this email list before, but I'm happy to see discussion about the cloth simulator in Blender. It is the main reason why I started using Blender, and I know a fair amount of folks in my community (AI and robotics researchers) who would love to explore cloth capabilities

Re: [Bf-committers] It's time to get rid of cloth

2020-10-20 Thread darkdefende--- via Bf-committers
I see that my name isn't with my email address. So just so clarify, I'm Sebastian Parborg. On Tue, Oct 20, 2020 at 02:20:46PM +0200, darkdefe...@gmail.com wrote: > To fix the cloth tunneling though the cube, activate "Single sided" in > the cube's collision settings and it should work much better.

Re: [Bf-committers] It's time to get rid of cloth

2020-10-20 Thread darkdefende--- via Bf-committers
To fix the cloth tunneling though the cube, activate "Single sided" in the cube's collision settings and it should work much better. Anyways, during my recent work with Bullet, I tested some things that are currently not integrated into blender. Mainly Bullet softbodies and cloth. Both have thei

Re: [Bf-committers] It's time to get rid of cloth

2020-10-20 Thread Sergej Reich via Bf-committers
Bullet's cloth system is no replacement for what Blender currently has and I'm not aware of any available library that we could use without having to do a lot of modifications to make it work. Am Di., 20. Okt. 2020 um 12:26 Uhr schrieb Brecht Van Lommel via Bf-committers : > The most important th

Re: [Bf-committers] It's time to get rid of cloth

2020-10-20 Thread Brecht Van Lommel via Bf-committers
The most important thing for cloth is that you can get it to give good results in real world cases, and the cloth simulation changes were based on work done for Agent 327. https://www.youtube.com/watch?v=jU6-cI-z8HA In practice you use smaller time steps and the fast-moving cube will get collided

Re: [Bf-committers] It's time to get rid of cloth

2020-10-20 Thread Ton Roosendaal via Bf-committers
Hi Joe, This is a bit harsh, there have been good cloth contributions to Blender by Luca Rood. The current module owner for it is Sebastian Parborg though. I'd suggest to connect with them to see what steps forward could be. We are also in the process of making a good node physics system to a

[Bf-committers] It's time to get rid of cloth

2020-10-19 Thread Joe Eagar via Bf-committers
So, ten years ago I wrote several continuous collision detection systems for cloth/hair, one of which I tried to push into trunk: https://www.youtube.com/watch?v=QBM3TBKO9w8 And, here's how the cloth sim performs today: https://www.youtube.com/watch?v=5462m9yEkU8&feature=youtu.be If the cloth d