15 - Self-collisions, solving the hardest problem in animation

  Рет қаралды 13,560

Ten Minute Physics

Ten Minute Physics

Күн бұрын

Пікірлер: 34
@kunqian7069
@kunqian7069 2 жыл бұрын
Look forward to a tutorial on cloth tearing and remesh
@Madlion
@Madlion 2 жыл бұрын
The substep I think can be spatially variable, by maintaining a grid structure for average velocities in space, with this we can vary substep based on where there's most activity
@seeyouinthenextlifeprobably
@seeyouinthenextlifeprobably 2 жыл бұрын
It's much simpler than traditional methods, which is nice!
@aydencook03
@aydencook03 2 жыл бұрын
Will you eventually make a video on a general purpose constraint solver? One that can solve any kind of constraint in their fundamental form instead of manually having to calculate gradients, etc .
@mytino
@mytino 2 жыл бұрын
Great video! I've been using the friction model from your paper "Unified Particle Physics for Real-Time Applications". Do you still recommend that model? Is the "unconditionally stable friction" in this video a different kind of friction; more of a general damping? Could this perhaps even be used to do viscosity in fluids, or is that still better to keep velocity-based? (I see viscosity is velocity-based in your fluid solver challenge code.)
@dnairlan
@dnairlan 2 жыл бұрын
Great tutorial Matty, thanks for sharing it! One question. Is it possible to plug your own integrator when using this approach or it is only PBD? Have you ever trying using e.g. an implicit integrator (e.g. Baraff implicit integrator) while using this approach?
@TenMinutePhysics
@TenMinutePhysics 2 жыл бұрын
Thx :-) You could certainly use the hash grid with another integrator. The idea of replacing iterations by sub-steps probably does not work well with a standard implicit integrator. Also, the way I simply push particles to resolve collisions and the unconditionally stable friction I describe are XPBD specific.
@dnairlan
@dnairlan 2 жыл бұрын
@@TenMinutePhysics I see, thanks. :)
@okifunearl8511
@okifunearl8511 2 жыл бұрын
​@@TenMinutePhysics Great video! Could you please explain why the collision handling method and unconditionally stable friction method is **specific** to XPBD? Do you mean they only suit on small sub-step iteration, or there's other features that XPBD own but I missed. thx!
@blastbuilder2430
@blastbuilder2430 6 ай бұрын
Great video! I'm wondering if you will do a video about the SDF method?
@jayanth9661
@jayanth9661 2 жыл бұрын
Hey... I really like all your videos. Can you please make a video which does simulation related fluid dynamics using particle fluids/SPH ?
@TenMinutePhysics
@TenMinutePhysics 2 жыл бұрын
I will certainly do fluids at some point because I like fluids a lot :-)
@АлександрЯкимов-к3о
@АлександрЯкимов-к3о 2 жыл бұрын
Hello, thank you for this great video! I'd just played with the demo. It is still easy to create some self intersections between cloth with a mouse. So probably not all self collisions can be avoided here.
@matteocampo1732
@matteocampo1732 2 жыл бұрын
Great video as always. I was wondering, do you still consider the use of air meshes to keep the correct ordering of the layers?
@TenMinutePhysics
@TenMinutePhysics 2 жыл бұрын
Yes, I plan to revisit them and will also make a video about them
@anomyymi0108
@anomyymi0108 2 жыл бұрын
Thank you very much for these videos! I can't unsee your name in every other paper I stumble accross now. Do you have any resources to recommend on how to improve this sim further? I have some ideas but I'll see what people smarter than me have come up with first. Particularly on improving edge collisions (without throwing more particles at it) and making it simd/multithreadable?
@alengm
@alengm 2 жыл бұрын
Thank you for these tutorials and for PBD in general. It's the first physics simulation method I was able to understand! Question. Do you have any recommendations on how to avoid sponginess in fluid simulations without making number of substeps proportional to length of the fluid volume? Grid based methods can ensure that the information about pressure propagates across all of the fluid but in PBD the information travels only through particles getting displaced.
@Spedley_2142
@Spedley_2142 Жыл бұрын
I was trying to use Beziers line drawing algorithm but as a time step rather than distance. Fast moving objects were stepped repeatedly and slow moving objects rarely updated. Everything was in finite steps. i.e. a bullet would be updated (in memory, not graphically) at 1000 times per seconds and a person updated 10 times per second, each moving a unit of 1 per iteration, then being put back down the list (based on Bezier's). I failed miserably but learned a lot.
@foggyhazel
@foggyhazel 8 ай бұрын
Hi Matthias, I found your video from 8 years ago talking about air mesh for collision handling. Is that still applicable here? I am looking for a method to solve self intersecting cloth due to character animation (eg. arm pit and cubital area) which comes up a lot in production
@UncoveredTruths
@UncoveredTruths 2 жыл бұрын
ooh very nice, thank you so much!
@TenMinutePhysics
@TenMinutePhysics 2 жыл бұрын
Glad you like it!
@voxelltech
@voxelltech 2 жыл бұрын
Awesome content! I also did cloth self collision but using binary radix tree BVH. Is there any reason why you use spatial hashing over BVHs? Or maybe the pro and con between the 2 of them haha.
@TenMinutePhysics
@TenMinutePhysics 2 жыл бұрын
Thank you. The hash is just very simple to explain but a BVH tree is certainly an alternative. Replace it in the demo and lets see what is faster :-)
@voxelltech
@voxelltech 2 жыл бұрын
@@TenMinutePhysics I see.. Thanks again!
@okifunearl8511
@okifunearl8511 Жыл бұрын
@@voxelltech hi~ I‘m a little confused about how to build BVH over a single mesh like one piece of cloth? imo the smallest unit in BVH leaf is a whole entity mesh instead of some triangle?
@dexensh
@dexensh Жыл бұрын
Hi Matthias, is such collision handling technique robust enough for volumetric deformable bodies?
@LowLifeGraphicsProgrammer
@LowLifeGraphicsProgrammer 2 жыл бұрын
Hi, I wonder is there any efficient, parallelizable way to solve self-collision of a 2d polyline?
@TenMinutePhysics
@TenMinutePhysics 2 жыл бұрын
I haven't thought about this problem. What is your application?
@ZioBlu
@ZioBlu 2 жыл бұрын
I had the same question :) Currently working on a hair system.
@DrTheRich
@DrTheRich 2 жыл бұрын
Does "Local Optimization for Robust Signed Distance Field Collision" work together with this? if yes will you cover it? I'm designing a system for real-time ship rigging. where there is a lot cases of collisions of cloth with thin geometry like ropes and masts, which normally doesn't give good results in traditional systems. since there is a lot of clipping and glitching when the quality is lower.
@AHSEN.
@AHSEN. Жыл бұрын
I'm so sorry I had to break the perfect 256 likes by adding another one 🙈
@shulehr
@shulehr Жыл бұрын
If thats the hardest problem in animation then its probably the easiest field
@atomictraveller
@atomictraveller Жыл бұрын
it's the most lucrative, so surely any productive methods will be obfuscated to preserve value. there are a whole bunch of fat dudes at the lodge ready to sit on it, which is why there are like 11k views for a method developed a decade ago.
@DasAntiNaziBroetchen
@DasAntiNaziBroetchen Ай бұрын
If you think it is easy, it means you have no idea what you are talking about.
09 Getting ready to simulate the world with XPBD
15:38
Ten Minute Physics
Рет қаралды 22 М.
11 - Finding collisions among thousands of objects blazing fast
11:04
Ten Minute Physics
Рет қаралды 26 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 61 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
14  - The secret of cloth simulation
6:21
Ten Minute Physics
Рет қаралды 10 М.
10 - Simple and unbreakable simulation of soft bodies
13:53
Ten Minute Physics
Рет қаралды 19 М.
12 - 100x speedup for soft body simulations
8:11
Ten Minute Physics
Рет қаралды 8 М.
17 - How to write an Eulerian fluid simulator with 200 lines of code.
12:05
Ten Minute Physics
Рет қаралды 311 М.
05  - The simplest possible physics simulation method
11:05
Ten Minute Physics
Рет қаралды 15 М.
06 - The simplest way to simulate a triple pendulum
9:54
Ten Minute Physics
Рет қаралды 15 М.
Cloth Self Collision with Predictive Contacts
30:17
GDC 2025
Рет қаралды 19 М.
How Games Simulate Cloth & Ropes
12:16
DepthBuffer
Рет қаралды 78 М.
Real time Fire Simulation
7:23
Pezzza's Work
Рет қаралды 158 М.
03 - Writing a billiard simulation in 10 minutes
11:34
Ten Minute Physics
Рет қаралды 12 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 61 МЛН