Auto-save files in a cache node

   405   4   0
User Avatar
Member
45 posts
Joined: 1月 2015
Offline
Among the caching nodes in Houdini (Filecache, Labs Filecache) is there one that can be set to "Load from disk" for any frame, but it will also auto-create/save a file if there isn't one for the given frame (without human intervention)?
Edited by element33 - 2022年10月5日 14:38:50
User Avatar
Member
673 posts
Joined: 7月 2005
Online
The original File Cache node can do this, very useful if you want to spit out a bunch of files from a for loop. If you have the Asset Definition Toolbar set to be visible in your parameter pane, you can just switch to the older version. The preference can be changed here:
File > Asset Manager > Configuration > Asset Definition Toolbar:
User Avatar
Member
45 posts
Joined: 1月 2015
Offline
Thanks. I switched to the old filecache (without the ::2.0 suffix), but what are the settings that would do it? Under Advanced Tab->Load->Missing Frame, the only options are "No Geometry" or "Report Error", there's no "Save" option. I tried checking/unchecking "Load from Disk", I switched the File Mode to Automatic/Read/Write. But I always have to push a button to actually save a missing frame: either the "Save to Disk" button or the "Reload Geometry" button. Can filecache save geo automatically, if a frame is missing?
User Avatar
Member
673 posts
Joined: 7月 2005
Online
There is no Advanced Tab in the original File Cache UI, that still sounds like the new SOP. Here is a screenshot. File Mode set to Automatic will automatically write files to disk.

Attachments:
hindie_BlWMNp8Yek.png (58.3 KB)

User Avatar
Member
45 posts
Joined: 1月 2015
Offline
Thanks, I got it to work. Why was this removed from the new filecache? It's very useful.
  • Quick Links