Jump to content

Brick wall: glue network strange behaviour


Recommended Posts

Hi everyone, first post here.

I'm starting to learn houdini and of course i need a lot of help since the documentation is quite poor...i hope you guys can give me some heads up.

My problem is basically the old brickwall destruction problem.

My goal is to destroy the wall having clusters of bricks, single bricks and brick shards. and of course i would like the clusters to break into smaller clusters or single brick on every subsequent impact and so on.

So far i managed to create a glue network which i delete gradually using a sphere with points from volume node, and painted clusters which are not deletable, so they should behave like subsets of the main glue network (breaking accordingly to their strength).

And here the odd behaviour happen...glue network bonds seems to reappear and stop the shards quite randomly.

anybody has any idea?

any help would be so much appreciated

also, some tips on how to paint different vaues of glue strength or how to procedurally set the glue strength based on distance between pieces would be a plus.

thanks so much in advance to anyone who replies this post :)

 

you can find attached a flipbook showing in red the glue network bonds that reappear

 

houdiniFlipbook.mov

Link to comment
Share on other sites

When you're cooking /obj/glue_sphere every frame, the DOP Import SOP keeps fetching the objects' geometry at their new positions, and the Connect Adjacent Pieces SOP recomputes a new glue network based on which pieces are currently near each other - that's why you sometimes see new glue bonds appear. I'd suggest placing a Timeshift SOP after the DOP Import SOP, with the Frame parameter set to 1. That will ensure that the constraint network isn't rebuilt from scratch on each frame.

  • Like 1
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...