Jump to content

Particle caching options for a FF render (0.4 inc)


Recommended Posts

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...