How to inflate multiple objects in a container mesh?

   493   4   1
User Avatar
Member
444 posts
Joined: Aug. 2019
Offline
I'm trying to make an effect where some objects get inflated along the normals until they fill another container object.

When there is only one object, it can be easily done with Ray SOP:



However, when it comes to multiple objects, I have no idea how to achieve the effect:



I guess I need to get some solver involved? But I don't even know where to start...

Attachments:
Animation3.gif (1.5 MB)
Screenshot 2024-03-06 224641.png (1.4 MB)

User Avatar
Member
2537 posts
Joined: June 2008
Offline
You could try something like this vellum set up.
https://hdbp.io/ztbfmcjG [hdbp.io]
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
444 posts
Joined: Aug. 2019
Offline
Enivob
You could try something like this vellum set up.
https://hdbp.io/ztbfmcjG [hdbp.io]

Using Vellum seems to be a possible solution. I found this one:



However I feel there must be a more performant way... since I just want the points to move along the normals, do I really need a physical simulation for this?
Edited by raincole - March 7, 2024 05:05:22
User Avatar
Member
68 posts
Joined: Sept. 2014
Offline
- may be this tutorial can guide you

Analytical Foam

https://entagma.com/analytical-foam/ [entagma.com]

As position based simulation techniques ...
User Avatar
Member
143 posts
Joined: May 2017
Offline
You could also solve this with signed distance fields, I remember an introduction by entagma on this topic, but I don't remember exactly which tutorial. Using two spheres growing in a sop solver taking collisions into account.
  • Quick Links