16  - Simulation on the GPU
12:52
2 жыл бұрын
14  - The secret of cloth simulation
6:21
Пікірлер
@matthewmathis62
@matthewmathis62 2 күн бұрын
Thank you!!
@matthewmathis62
@matthewmathis62 2 күн бұрын
Thank you so much!
@mattos2603
@mattos2603 3 күн бұрын
Have you any experience doing cool things like you do, but rendered in THREEJS?
@robertoguerra5375
@robertoguerra5375 4 күн бұрын
Can someone simulate a gearbox or a pulley system?
@segunda_parte
@segunda_parte 7 күн бұрын
Awesome, very very awesome. Thank you so much.
@blastbuilder2430
@blastbuilder2430 14 күн бұрын
I'm trying to implement this in Unity but soon realized this is beyond me...
@WaldoRedelinghuys
@WaldoRedelinghuys 15 күн бұрын
fascinating
@blastbuilder2430
@blastbuilder2430 16 күн бұрын
What I found is that when using only one iteration the velocity error is too big that results in instability. I need at least 2 iterations to get stable results. Also too many substeps leads to vibrations, not exactly sure why but I guess it’s because the velocity gets bigger when the delta time is really small. When solving collision or distance constraint, the position change is irrelevant to delta t, so if you have a small delta the velocity is much bigger.
@blastbuilder2430
@blastbuilder2430 17 күн бұрын
Great video! I'm wondering if you will do a video about the SDF method?
@phanikumar1158
@phanikumar1158 19 күн бұрын
Send me more simulations.
@djaccount5458
@djaccount5458 26 күн бұрын
Hello, do you have example of rectangle (2d car) collision example, I need it for me racing game. Ps. Great channel, I mad pinball conversion using your video, u can check: Pinball Dreams Online - JavaScript © Paweł Drabowicz
@djaccount5458
@djaccount5458 23 күн бұрын
I use library PhysicsJS library :) very simple to use :)
@benjaminlehmann
@benjaminlehmann 29 күн бұрын
That was so great. Thanks
@MissPiggyM976
@MissPiggyM976 Ай бұрын
Very well done, many thanks!
@Djellowman
@Djellowman Ай бұрын
I feel like this video won't age well
@user-gy6cw7sx3q
@user-gy6cw7sx3q Ай бұрын
Hi ! I don't really understand why at 1:45 you say a large stiffness implies stability problems ? I don't know if the link is obvious, but for me it isn't so if anyone has an explanation I'm open to it ! Thanks for all the work and resources you put out :D
@atomictraveller
@atomictraveller Ай бұрын
concerning surface nets... why do all you graphics guys use first order interpolation then gradient descent to make up for the lack of using second order interpolation? :) cubic is just a few mults and adds. i'm your fiend, you should refiend me on dicsord, imagine banning me becaus ei got tortured by the u.s. government.
@Ykulvaarlck
@Ykulvaarlck Ай бұрын
does XPBD not have a factor of lambda*alpha to the numerator of the calculation of lambda?
@olegnabatov5952
@olegnabatov5952 Ай бұрын
Видеопоток, можно считать на декодере mp4.
@charlesaugustosantosdocarm7465
@charlesaugustosantosdocarm7465 Ай бұрын
Genius!
@Christobanistan
@Christobanistan Ай бұрын
I wish I could follow even a little of this. It looks very cool.
@namenloss730
@namenloss730 2 ай бұрын
I think the "unbreakable" thing can't be understated since Matthias is using a broken non conformal tetrahedral mesh and yet the simulation is still behaving quite nicely
@adidanusaputra4761
@adidanusaputra4761 2 ай бұрын
Very impressive make me build an interest in programming
@michelangelobagnara6856
@michelangelobagnara6856 2 ай бұрын
Please consider helping Blender community to implement XPBD physics, you are the one that can do it, that would be great!
@7oca7hos7
@7oca7hos7 2 ай бұрын
That would be cool
@keldencowan
@keldencowan Ай бұрын
XPBD is patented by Nvidia, there is no way it will be incorporated into major open source projects.
@michelangelobagnara6856
@michelangelobagnara6856 Ай бұрын
@keldencowan There are different open source project implementing XPBD, and someone already implemented part of it in blender in google summer code
@shikaishik
@shikaishik 2 ай бұрын
素人が一からこのシミュレーションを作ろうとすることはできますかね?
@atomictraveller
@atomictraveller 2 ай бұрын
wow, backwards name guy just banned me from your discord because i mentioned th eoj simpson mkultra child rape coverup in off topic. i guess, not so off topic huh.
@shakaibsafvi97
@shakaibsafvi97 2 ай бұрын
Very Very impressive. Just wondering if you could add other 2D shapes as obstacles.... may be multiple 2D shapes.... !
@zp5916
@zp5916 2 ай бұрын
Is there a name for the method that is being used in Gauss-Seidel loop? I am new to this and I have seen examples of solvers solve for pressure in the iterative loops, then update velocity after. Here we directly update velocity.
@AlienXtream1
@AlienXtream1 2 ай бұрын
THANKYOU! SO many talks about fluid simulations (and fluid/water in general) mistakingly claim (orimply) that water *is* incompressable. this is the first time i've seen someone correctly assert its "functionally incompressable" XD
@foggyhazel
@foggyhazel 2 ай бұрын
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
@novavr3dnovaresearch780
@novavr3dnovaresearch780 2 ай бұрын
Verlet integration handles constrains by adjusting previous position, which in some way, seem similar to PBD method. Could you compare the similarities and the differences between PBD vs Verlet. Thanks
@johnpelitidis6297
@johnpelitidis6297 2 ай бұрын
You are amazing.
@perpetualrabbit
@perpetualrabbit 3 ай бұрын
Unfortunate that you use X for position and P also for position. This is very confusing for me because P usually is used for momentum in physics, which is vector velocity times mass for a particle.
@gregor-alic
@gregor-alic 3 ай бұрын
Hi! Have you also looked into eulerian simulation of advection? I used the same approach as you, however I find that semi-Lagrangian advection has a problem of energy loss. The problem arises when velocity vector is so great, that it "skips" a few cells and can end up inside a wall. In such cases, advected velocity becomes 0. I haven't been able to find a better method though.
@johnadriandodge
@johnadriandodge 3 ай бұрын
Shalom evening Mr. TMP Outstanding videos you have. Thank you for sharing and teaching. Night
@TheRojo387
@TheRojo387 3 ай бұрын
So-called "incompressible" fluids aren't truly incompressible, as they manage to compress themselves under their own weight, more the deeper the fluid pool.
@Gawain-hi5pd
@Gawain-hi5pd 3 ай бұрын
how do I implement self collisions with this?
@samsara2024
@samsara2024 3 ай бұрын
I made the same algorithm using c#. It works but I can see a global dumping of the energy even with a single pendulum. What could be the reason? Thanks!
@johnpelitidis6297
@johnpelitidis6297 3 ай бұрын
What you do is outstanding... Thank you 🙂
@johnpelitidis6297
@johnpelitidis6297 3 ай бұрын
This scares me... who will own and control this technology?
@zhitongcui6471
@zhitongcui6471 3 ай бұрын
Very excellent tutorial!
@antoinedesbiens2343
@antoinedesbiens2343 3 ай бұрын
With the current constraints and the current mesh, it is possible to bring the object to a state where all constraints are working against each other, stopping the object from recovering to its rest form. You can grab the slider and move it quickly between the allowed min and allowed max and eventually you will see what I mean. Same if you are alternating between squash/run rapidly. Do you have suggestions to prevent this from happening?
@PeteJonesF6
@PeteJonesF6 3 ай бұрын
Love all of your videos, they are simply awesome, thank you so much for taking the time :) I was just wondering if there is a very minor 'bug' in your code or not (its probably totally unnoticible in the result). Should you not be using an unmodified height when reading the neighbours to compute the velocities? There may be some slight errors introduced due to reading the positional damped height in directions which cell heights have been updated this frame (line 247-252).
@Sopiro
@Sopiro 3 ай бұрын
I just found a gem!
@WizardOfAILand
@WizardOfAILand 3 ай бұрын
LOVE THE VIDEOS!!!!!!! GREAT JOB!!!!! Could you do: Moving Least Squares Material Point Method ????
@WizardOfAILand
@WizardOfAILand 3 ай бұрын
LOVE THE VIDEOS!!!!!!! GREAT JOB!!!!! Could you do: Moving Least Squares Material Point Method ????
@namenloss730
@namenloss730 3 ай бұрын
Hello Matthias, Would you have tet meshes of the dragon or the bunny that are topologically correct please? No offense but your blender plug in is a bit broken. There are holes within the meshes, and no manifold edges and vertices :/ Online I only find meshs with tens of thousands of tetrahedra
@maverick.laurel
@maverick.laurel 3 ай бұрын
Thank you so much for the great contents and I have been rewatching the videos many times! ❤ Definitely looking forward to the upcoming tutorials for viscous liquids and other fluid simulation methods.
@Gawain-hi5pd
@Gawain-hi5pd 4 ай бұрын
If viscosity can be implemented, will fluids with a very high viscosity retain their shape when moving around?
@ghostbusterz
@ghostbusterz 4 ай бұрын
In code you subtract the actual distance *from* the rest distance (L0 - L), but in the mathematical equation you show subtracting the rest distance *from* the actual distance (L - L0). This is quite confusing.
@ghostbusterz
@ghostbusterz 4 ай бұрын
Confused about gradient calculations C1 and C2. C1 is shown visually as facing the opposite direction of C2, and yet its calculation is the same. Shouldn't it be X1 - X2 to go from X2 to X1?
@maximiliankaluschke9273
@maximiliankaluschke9273 22 күн бұрын
There's a minus in front of the rhs of C2