How to "Morph" Between Multiple VDBs?

   2827   5   2
User Avatar
Member
135 posts
Joined: 8月 2014
オフライン
I have 62 time steps of a simulation of an expanding nebula as Fog VDBs where the fog represents element densities.
I want to "morph" between all of them over a number of frames.
My current strategy is to animate the mix between the first 2 VDBs using a VDB reshape SOP.
Then I switch from that node to the next pair of the same setup.
However, this would be very labor intensive having to set it up for 62 steps.
Alternatively, I'm experimenting with the VDB morph SOP, to make it look more like a natural evolution, instead of "just" a cross dissolve.
Either way, it would require wiring up multiples of 62 nodes.
I was thinking of writing a python script to semi-automate the setup, but wanted to reach out in case I'm overlooking something.
Thanks
Edited by jlapre - 2022年10月27日 18:07:49

Attachments:
Screenshot from 2022-10-27 15-06-13.png (371.6 KB)

Jeroen
User Avatar
Member
1836 posts
Joined: 3月 2009
オフライン
You'll be delighted to hear that both Blendshape SOP and Sequence Blend SOP can handle vdbs these days. Just plug them in, select your preferred voxel blend method and blend away.
Martin Winkler
User Avatar
Member
135 posts
Joined: 8月 2014
オフライン
protozoan
You'll be delighted to hear that both Blendshape SOP and Sequence Blend SOP can handle vdbs these days. Just plug them in, select your preferred voxel blend method and blend away.

Hi Martin,
excellent! I'll give that a try.
Many thanks.
Jeroen
User Avatar
Member
170 posts
Joined: 7月 2010
オフライン
Hi Martin,
the Sequence Blend SOP Voxel Blend support looks very promising!
However, wiring 62 read nodes into the blend sop is very manual.
Do you, or anyone reading this thread, know a more procedural way to wire up a file sequence into a sequence blend sop?
Thanks

Attachments:
Screen Shot 2022-10-30 at 12.38.18 PM.png (1.3 MB)

User Avatar
Member
1836 posts
Joined: 3月 2009
オフライン
If "artistic" control is not needed (like, blend at very specific times), and/or you have a lot of input and just want to blend the whole thing through, you may try the Retime SOP (which also does volumes and vdbs these days).
Martin Winkler
User Avatar
Member
135 posts
Joined: 8月 2014
オフライン
protozoan
If "artistic" control is not needed (like, blend at very specific times), and/or you have a lot of input and just want to blend the whole thing through, you may try the Retime SOP (which also does volumes and vdbs these days).

Hi Martin,
the Retime SOP looks promising after a preliminary test.
I noticed that Retime/TimeWarp has similar functionality.
The data time steps are non-uniform, so I'm going to try creating a curve in the TimeWarp Input Timestep field with keyframes representing the intervals.
Thanks
Jeroen
  • Quick Links