Jump to content
gramx

Houdini Bacteria Growth

Recommended Posts

Hi

 

Has anyone got any ideas on how to create multiplying bacteria growth in Houdini like in this video clip:- 

 

Thanks

 

Graham

Share this post


Link to post
Share on other sites

You might be able to do something simple along these lines with a simple particle. Start with single point, then in a solver, emit npoint ( ) so that it emits 1 particle per 1 particle. to make them spread you could take the pointcloud of surrounding positions, merge that and length them, and then force the position of each particle in the opposite direction so they spread. Per particle emitted in the solver you could add an attribute ID, then add in 2 particles either side of it (to create the appearance of them being long and wrapping them in a foreach, which could get real sloppy) or fluid wrap the entire thing. This way you may even fake some sort of grow/split of them. Just throwing out an idea, it'll be much harder than this though once you get down to some nitty gritty I'm sure :)

Share this post


Link to post
Share on other sites

Maybe could be done with a wire sim or even FEM? Make a line grow, and once it reaches X length, split it in two. Then those two keep growing, eventually gets cut in half as well and then you get that exponential growth. Just an idea.

Share this post


Link to post
Share on other sites

Thanks for the help!! Some interesting ideas. The client has actually agreed for a much simpler animation now, but I will still have a play around for fun! Thanks again.

Share this post


Link to post
Share on other sites

Very cool Artem, I like it! Have you a brief explanation on the setup? Thanks

Share this post


Link to post
Share on other sites

I have used custom verlet solver implemented with HDK. It is very similar to solver in "Simple Cloth" example file, so you can reproduce it. 

 

Maybe could be done with a wire sim or even FEM? Make a line grow, and once it reaches X length, split it in two. Then those two keep growing, eventually gets cut in half as well and then you get that exponential growth. Just an idea.

That is the basic idea. I refine lines somewhere near the midle. In case of new point beeng too close to any old point, the strain on the edge become too high and it is tearing, spliting the line to pieces. And so on...Hope my english is understandable enough=)

Edited by Artem Smirnov

Share this post


Link to post
Share on other sites

I have used custom verlet solver implemented with HDK. It is very similar to solver in "Simple Cloth" example file, so you can reproduce it. 

 

That is the basic idea. I refine lines somewhere near the midle. In case of new point beeng too close to any old point, the strain on the edge become too high and it is tearing, spliting the line to pieces. And so on...Hope my english is understandable enough=)

Hi Artem, i would like to take an approach to verlet integration and hopefully come to a solver like yours but can't find that simple cloth example anywhere. Is it an hdk example file from previous houdini versions? If you have it lying anywhere on your drive could you please upload here. Thanks in advance.

Share this post


Link to post
Share on other sites

Hello, Sergio. As you might know, things are getting better with every release of houdini.) Verlet integration is just another word for position based physics, so now we have this kind of solver implemented by sesi in houdini 14 grain solver. You can do exactly what I have done  with pbd, constraints and couple of lines in wrangle nodes)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×