Search - User list
Full Version: Volume Retime Stuttering
Root » Technical Discussion » Volume Retime Stuttering
Wouter Lichtenbelt
I’ve been struggling to eliminate some stuttering issues in my volume.
Currently, I’m using the retime node and have tried different volume blending Modes, but the problem persists.

Does anyone have any ideas or suggestions on how to fix this?


Tanto
One tip is to never have a mix of blended and unblended frames, so make sure your retime coefficient never results in integer frames from the original sequence.
Wouter Lichtenbelt
Tanto
One tip is to never have a mix of blended and unblended frames, so make sure your retime coefficient never results in integer frames from the original sequence.

I have already given that a go in the results above, where the retime frames would never land on frames like 1001, 1002, etc. Unfortunately, that hasn't fixed the problem.
tamte
Your best bet would be to use Advected mode and making sure you have correct vel volume present in your cache

By correct I mean that it represents velocity per second at the current FPS

For example things like simming with timescale other than 1 would produce incompatible vel for retiming ao that would need to be reflected in the settings by scaling it accordingly for advection purposes
Wouter Lichtenbelt
tamte
Your best bet would be to use Advected mode and making sure you have correct vel volume present in your cache

By correct I mean that it represents velocity per second at the current FPS

For example things like simming with timescale other than 1 would produce incompatible vel for retiming ao that would need to be reflected in the settings by scaling it accordingly for advection purposes


By using a timescale on my sim, would there still be a way to get the correct velocity out? Or would there be no other option than to set the timescale to 1?
Tanto
You can use a volume wrangle prior to your retime with

v@vel *= chf('timescale');

Then create the spare parameter and link it to the timescale of your sim.
tamte
You can also just adjust the Input Timestep parameter on Retime SOP

Change it to something like
ch("timescale") / $FPS
Wouter Lichtenbelt
That seems to have done the trick. Thanks!

Is there a reason why the velocity field is not affected by the timescale in the solver? I was expecting it to be?
tamte
Wouter Lichtenbelt
That seems to have done the trick. Thanks!

Is there a reason why the velocity field is not affected by the timescale in the solver? I was expecting it to be?
Because vel is in seconds, timescale affects just advection speed

This makes it much easier for all the velocity shaping tools to work the same way rather than having to account for timescale

Also in real life the velocity of the object doesnt change if you observe it with higher fps camera

It's however important to be aware of this as you may want to adjust vel for the purpose of MB or as in your case retiming
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB