Jump to content

Houdini Bacteria Growth


gramx

Recommended Posts

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 :)

Link to comment
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.

Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
Share on other sites

  • 1 year later...

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.

Link to comment
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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...