malkuth Posted March 22, 2016 Share Posted March 22, 2016 Hi I'm trying to cache to disk a POP particle simulation that has a value of 3 for the 'sub steps' parameter. I want to be able to render/work on it later using the FF (0.4 inc value) as well and bring back the cached bgeo.sc on the correct frame range for some other post sim adjustments. So far I was only able to cache the sim files to disk and render/work with that by loading the sim files with the POP Network node itself (in order to avoid cooking again). Is there any better workflows? Thank you! cheers Cristian ParticleCaching_v02.hiplc Quote Link to comment Share on other sites More sharing options...
djiki Posted March 22, 2016 Share Posted March 22, 2016 Why not using already provided tab CACHE on your POP node? Just simply turn on option SaveCheckPoints (with default options it will cache every subframe ) and use $SF (simulation frame local variable) not $FF. In your case it will save 30 frames (150 - 180). Your range is 50-60 so it internalu calculate new range as: start: $FSTART * substeps end: $FEND * substeps later in your reading node just do math depend on you want: /cache.$F*substeps.sc will read every third frame from saved range if you play it from your current range 50-60. Or you can drop frame increment to 0.3333 with that it will read all 30 frames but you have to change expression for index to trunc($FF*substeps) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.