Change animation speed in VDB loader

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
BCres
Licensed Customer
Posts: 246
Joined: Mon Feb 20, 2017 6:14 pm

Can anyone explain how to speed up a vdb animation exported from EmbergenFX in C4d using Octane's VDB loader? Whenever I render the fire, it runs too slow.

(Apparently, EmbergenFX does everything at 60FPS.)

I have tried changing step values in Embergen so it is only rendering every third frame, but the result is choppy. Even changed the 60HZ to 24. Nothing helps.

So what I have done is render out 2.5 times the numbers of frames I need in EMGenFX, and tried to force the Octane vdb loader to use all 1000 frames, hoping it would run faster in a 400 frame sequence. But the Octane VDB loader only uses a 1:1 frame number. In other words, it's only using the first 400, not the full 1000. So it still runs slowly.

I have X-particles, which allows you to change the animation speed in their OpenVDB loader, but I can't seem to get it to render.

Will Octane ever add a speed control to its loader?
User avatar
bepeg4d
Octane Guru
Posts: 10365
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
you can reduce the Timestep in EmberGen to export a faster sequence:
E69EDE90-FF46-4D7F-81B1-9AB38348B8B8.jpeg
The sim on the left is at 60h, the sim on the right at 25h.

ciao,
Beppe
BCres
Licensed Customer
Posts: 246
Joined: Mon Feb 20, 2017 6:14 pm

Beppe,

You'll see I did mention doing that in my first post.

Anyhow, I tried it again this morning. Yes, changing from 60HZ to 24HZ definitely speeds up the animation in the EmberGenFX viewer, and it may affect flipbooks, but it doesn't change the speed of the fire in rendered vdbs. At least not for me.

After creating the vdbs in EmberGenFX at 24HZ, I render in C4D (24fps project) and then take the rendered frames into AE and the fire is still playing in slowmotion. About 2.5 times slower. Changing the HZ speed doesn't affect the speed except on screen in EmberGenFX.

Thanks.

BTW, I recreated your sample...yes, the flames look different, but when you render them and open in AE they both run slower. It may adjust frames, but the rendered fire runs equally as slow.
60hz and 24hz pic.jpg
ShivaMist
Licensed Customer
Posts: 80
Joined: Thu Oct 11, 2018 5:07 pm
Location: Paris

In the VDB export node you can specify a Frame stride value, for a value of 2 embergen will ignore every other frames which would takes you to 30fps.
Attachments
Capture d’écran 2022-03-14 131405.png
BCres
Licensed Customer
Posts: 246
Joined: Mon Feb 20, 2017 6:14 pm

Yes, thank you Shivamist, I mentioned that I did that as well in the first post (I called it change step values), it worked for speed, but the results looked choppy, even with motion blur added. I tried 2 and 3 steps. Even rendered 2.5 times as many frames hoping that every second and third looked less choppy. It didn't.

*****

Anyhow, here are two videos, the first show that 60 and 24 hz are both slow...
BOTH FIRES SPEED TEST both 60 and 24hz.mp4
(3.63 MiB) Downloaded 3376 times
Interpreting at 60fps works in AE (the 24hz is on the right and looks better) But you can't do that if you want to imbed the fire in a scene.
BOTH FIRES SPEED TEST interpreted at 60fps in AE.mp4
(1.47 MiB) Downloaded 3372 times
A speed control on the Octane VDB volume loader would fix this.
Post Reply

Return to “Maxon Cinema 4D”