First render: simple collision integrated


After working hard to understand KDtree and implement it, here is a quick video. In this video, no friction is integrated (why is alway move like a bowl of jello), only really simple collision. But collision response depend to the mass of each collided body.Here, blue spheres have a density of 700 kg/cu.meter , yellow spheres 500 kg/cu.meter , green spheres 750 kg/cu.meter and red 4000 kg/cu.meter. Look how each react depend of it’s mass:

Now , I need to work on more accurate collision response and friction.

4 thoughts on “First render: simple collision integrated

    Particle Collision in Blender at a glance, without messing around with RB´s or ultra high viskosity fluid particles that behave like crazy! 🙂

    Although it´s still a bit “rough” at the moment, it´s producing already nice results and computes quite fast, compared to rigid body objects or fluid particles. Dropping 1000 small Balls in a Bowl turned out quite good. Collisons look accurate and Balls ak Particles move physically acceptable. Almost there to achieve good simulations, of Sand for example, in Blender 🙂

    Just one thing i noticed is that the dampening applied to the Balls, when colliding with each other, could be higher to produce more realistic results, imho. The more mass i add to the Objects, the more they tend to bounce after the collision. Same case with very small masses. The opposite should be the case, i guess. Adding some dampening (~0.2) set under “Physics -> Forces -> Damp” compensates this behaviour when using small masses.

    On the other hand, particle collisions with “collision objects” look like they already have a realistic bounciness (… are they even affected by the script, or does it exclusively handle collisons between the particles?)

    Linking and relinking seem to produce “clumpiness” like intended, although i am a bit unsure about the funktionality of relinking… guess i have to test that some more. It would be nice if you could provide your blend file of “Mass_Test_1”, so me and others could have a look at the settings you made to get a point to start from for experimenting with your great script… and/or just a small manual or tutorial describing some details for the settings would also be fantastic :-)))

    Keep up the good work and thanks for providing it. This Addon Rocks!

    Best Regards

    • thanks a lot for yoyr great comment ! In this video you don’t see nothing like link and relink. Only simple collision (no friction) is integrated. I still wirking hard to release a “acceptable” version of my script with some sample blendfile. When all major feature appear in my UI is implementef. Now I’m working on links. I’m happy of the first results I get and if renders goes fine tonight , I probably publish a video of it. ( I render on my computer because is down now).

      Simulation speed is Okay for python. But when my script as enough developped , I want to port it to Cython and hope to have a gain between 10 to 100 faster.

      thanks again to be patient and stay tuned !


Leave a Reply to Dan Cancel reply