Jump to content

modeling deforming sponge


donQuoique

Recommended Posts

For the sponge a good place to start would be with VDBs. You can do VDB subtraction in the vdbcombine node and get some detailed "holey" meshes very quickly.

Once you have an object that you like, you would then use either finite elements or granular solids to get the effect of a soft body.

There's an image to get you started, let me know if you need more details.

Sponge.PNG

  • Like 1
Link to comment
Share on other sites

6 minutes ago, Gavin said:

For the sponge a good place to start would be with VDBs. You can do VDB subtraction in the vdbcombine node and get some detailed "holey" meshes very quickly.

Once you have an object that you like, you would then use either finite elements or granular solids to get the effect of a soft body.

There's an image to get you started, let me know if you need more details.

Sponge.PNG

Wow! Thanks a lot! Actually, what I am trying to do is model a sofa with rigid metal frame which hold soft seating cushion. Can I make it with something easier than FEM, for example like "attribute transfer" node?

Link to comment
Share on other sites

If its a one way interaction and your solid metal ball or whatever is being used is stationary or animated then yes.

You could use the metal balls normals along with a blended attribute transfer to deform the points on the couch mesh as the ball gets close. The issue you will run into here is precision as this method will have a tendency to pop.

If you need smooth interaction though I would again use VDB's here as they have the distance to the surface built in and can be filled solid, so you can get better deformations with just some simple math. 

Check out the attached file to see what I mean.

deform_from_object.hipnc

Link to comment
Share on other sites

I somehow succeeded to make the deformation as I wanted (I mean it's close) with attribute transfer and attribute VOP but I think I need more study to make it work with VDB.

I used color (as you did in your model) to blend the normal but how it works is still not quite clear for me although I just happened to make it work. 

Thank you so much again. Your help was enormously useful for me.

sofaKwak.hipnc

 

sofaTest3.jpg

Edited by donQuoique
  • 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...