Jump to content
Sign in to follow this  
nicoladanese

read back substeps

Recommended Posts

hey!

I'm simming a flip fluid sim and I'm writing out substeps to disk in order to do a slow mo effect. At the moment I'm having something like this for 4 substeps

 

testretime.125.25.bgeo.sc
testretime.125.5.bgeo.sc
testretime.125.75.bgeo.sc
testretime.125.bgeo.sc
testretime.126.25.bgeo.sc
testretime.126.5.bgeo.sc
testretime.126.75.bgeo.sc
testretime.126.bgeo.sc
testretime.127.25.bgeo.sc
testretime.127.5.bgeo.sc
testretime.127.75.bgeo.sc
testretime.127.bgeo.sc

 

how can I read this info back and render it in mantra so that 125.25 becomes 126, 125.5 becomes 127 and so on? should I rename those frame by hand? ;) or there's something smarter?

Share this post


Link to post
Share on other sites

not sure but timewarp might do that. quadruple the endframe of the input range for the output end

Share this post


Link to post
Share on other sites

hey! just tried but it keeps the same frame for 4 frames and then move to the next one, I think he's looking for integer frame, while mine are 125.25 etc... maybe I can cache them out in another syntax, without using $FF so the files will output already in a nice way

Share this post


Link to post
Share on other sites

i've done something like this. before your cache node just drop a timeshift and divide time by your substeps ($F/4). then after your cache another timeshift and you can animate it as you want.

 

also take a look at this tutorial 

 

Share this post


Link to post
Share on other sites

change your timeline to 4 times as long (because 4 substeps). then use timeshift after cache and put in $F/4.0 and untick Integer Frames

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×