How to add substeps to the motion of a vdb after caching

   841   2   1
User Avatar
Member
129 posts
Joined: Sept. 2021
Offline
Hi!

I'm creating a collision proxy for a smoke sim and a particle sim. It seems like it would make sense to use a VDB for collision. I have an animated VDB and I've cached it to disk.

Now that it's saved to disk, I'd like to add substeps to its motion so that it has the same number of substeps as the simulations I'm running. However, when using the retime node and setting substeps to 10, for example, I find that the vdb is only updated once a frame.

These are the retime node settings:



Any suggestions?

Attachments:
2023-06-08_10-41.png (444.3 KB)

User Avatar
Member
59 posts
Joined: April 2008
Offline
Why set the substeps to 10? I think you may not have 10 available interpolated cache geo to reference by retime node.
So 1 for substeps should be you need, and I just post a simple file, hope it helps.

Attachments:
blend_sdf_overtime.hip (278.0 KB)

User Avatar
Member
129 posts
Joined: Oct. 2020
Offline
dont cache the collision, or cache it with Inc 0.1
https://www.youtube.com/channel/UC4NQi8wpYUbR9wLolfHrZVA [www.youtube.com]
  • Quick Links