batch simulation baking and exporting whitewater to alembic

   1969   1   0
User Avatar
Member
13 posts
Joined: 8月 2014
Offline
Hi everyone! I am doing a fluid simulation in houdini that I then want to export in blender. I already achieved something, but I think I am in need of a couple of advices and I hope someone can help me here. 

This is the result so far after I exported all the elements in blender:
Image Not Found



Question1: how do I export whitewater separating spray from the foam and the bubbles? I am exporting whitewater using alembic to blender and it works great... However at the moment it's all in the same file, foam, bubbles and spray. While the former two I think can be rendered together, I would like to have the spray on a separate alembic or even better VDB so I can render it as a volume. 
How can I do so? Here you can see my current setup... I see that in the whitewater_IMPORT node group houdini extract some volume info from the whitewater particles so I tried to export those as a VDB but once I imported in blender I think that ALL the whitewater has been exported in the VDB not only the spray. I guess I would have to isolate some part of the whitewater based on some attribute, but I am a bit lost here... Can anyone give me a hand please? 



Question2: Is there a way to automate all the steps of the simulation caching process? So far I've been doing R&D but when the time for the final simulation come I would like to automate a bit the baking process. At the moment I cache in sequence: flip sim, whitewater sim, mesh and then I export the mesh and the white water to VDB. I would like to know if I can create some kind of BATCH of those actions so that I can leave the computer to crunch overnight and it will automatically start the next step after finishing baking the previous one. 

Thanks everyone for any help in advance!
Edited by Bernardo - 2022年5月3日 17:14:48

Attachments:
VA_WaveTest_HoudiniLOW_002.mp4 (3.5 MB)
Whitewater_IMPORT.png (86.9 KB)

User Avatar
Member
13 posts
Joined: 8月 2014
Offline
some update about the batch baking: I think what I need to look into is TOP networks as it seems to be a tool to execute several tasks automatically. I still need to figure out how it works exactly but I managed to take my first steps into it and I used a ROPgeomentry node to baked the flip simulation in the TOP network. Things worked as I got my sim files on the disk and those work correctly. The only problem is that baking this way seems to be incredibly slow compared to the normal file cache node in the fluid network: baking the same 120 frames, with the same settings took 2 minutes baking from the cache node, while it took over 40 in the top network. I think I am obviously doing something wrong... any help here please?
Edited by Bernardo - 2022年5月4日 05:57:13

Attachments:
TopNetwork.png (108.9 KB)

  • Quick Links