Plastic at last

Hi guys ๐Ÿ™‚

One of the last frontiers of particle fluids simulation engine was implementing plastic behaviors (previously some elastic features were implemented using Hooke’s style spring forces) but plastic remained challenging, and Stephen has been working on it since the release of particle fluids, he has ended up with a very nice and clever implementation that only lack speed. We were sure that it was a correct implementation but something in the code was eating up CPU cycles a lot, so last week I finally had some time to work again in particle fluids with him and we made some important progresses ๐Ÿ™‚

I added the option for displaying springs between particles, this proves to be quite useful to see what’s going on in the simulation and also could be pretty didactic ๐Ÿ˜‰ and added the option for controlling the amount of springs per particle since it was the most performance eater, previously we were going for the raw implementation that takes into account the maximum number of springs per particle possible , but even the most seasoned soft body/cloth/springs simulators out there, for speed reasons, implement only a few springs per particle.

As a result speed is increased by several factors and make it user ready ๐Ÿ™‚

Cheers Farsthary

Advertisements
Plastic at last

10 thoughts on “Plastic at last

  1. ibkanat says:

    Really interesting work. Looks like Siggraph. So will this be able to deform the original mesh.. Like for instance the standford bunny in some of the siggraph demos? Looking forward to trying this and the other particles fluid features. What aligorithms are you using for surfacing? If dont have that all figured out yet there is meshlab that has some.

    Like

  2. Blendiac says:

    lol. I love how you manage to make me – a native English speaker – need to look up words in my own language… “didactic”?!

    Anyway, speedups by a factor of x are always things we like to hear… especially when dealing with particles. Hey, who *doesn’t* want their simulation looking better in less time? ๐Ÿ˜› Thanks for making it happen again Farsthary!

    By the way, for anyone wondering about meshlab:
    http://meshlab.sourceforge.net/

    Like

  3. SamCameron says:

    Great but… please, bring us the mesh particle creation ! , it’s a long awaited feature for most of us, without it it’s very limited to have thousends of particles playing arround but without a propper way to visualice.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s