Inflate mesh gradually using animated mask

   2352   3   1
User Avatar
Member
14 posts
Joined: March 2022
Offline
Hello, I am trying to inflate part of the mesh like in this C4D tutorial [www.youtube.com], but in Houdini.
Image Not Found


I am able to inflate part of the mesh affected by a mask on the first frame only
The problem is that when I animate the mask, the inflation does not follow it.
I need the whole mesh to be inflated when the sphere moves over it.

Does anyone know what might be the problem?
I am attaching the .hipnc file.
Image Not Found



Thanks!
Edited by raketoplan - April 30, 2023 11:50:49

Attachments:
Screenshot 2023-04-30 at 17.37.25.png (996.0 KB)
InflatePartOfTheBox-problem.hipnc (800.6 KB)
animated-group.png (570.2 KB)

User Avatar
Member
14 posts
Joined: March 2022
Offline
I am having trouble attaching hipnc file.

Attachments:
InflatePartOfTheBox-problem.hipnc (800.6 KB)

User Avatar
Member
152 posts
Joined: June 2020
Offline
The solver will only take in whatever geo and constraints you pass in on the first frame of the simulation. So you're only creating the cloth constraints for the section of geo you have grouped on the first frame. And to be honest I'm not sure the purpose of the pin to target constraints in your setup.

The way I would approach stuff like this is to just configure your entire mesh as cloth (or whatever) and simply use an animated attrib mask or group to "activate" it gradually.

I'd check out some of the Vellum masterclass videos from SideFX and familiarize yourself with some DOPs concepts.

Anyways I played with your file for a bit and attached it here. Probably there are better ways to do this but I hope it helps you nonetheless.
Edited by freshbaked - April 30, 2023 17:48:56

Attachments:
InflatePartOfTheBox-problem_v2.hipnc (726.5 KB)

User Avatar
Member
14 posts
Joined: March 2022
Offline
@freshbaked
Thanks so much!
This is exactly what I have been looking for.
  • Quick Links