File Cache SOP / checking for "dirtiness"

   862   0   1
User Avatar
Member
146 posts
Joined: Jan. 2016
Offline
Please, do you have any tip, how to check, if the saved Filecache (versus its upstream) is not matching? I was considering to script and calculate some kind of “CRC” for the Filecache's upstream parameters. But the references and links can be quite complicated and maybe I am missing something obvious? Is Houdini storing any kind of upstream “CRC”, when it is evaluating the dirtiness of the node?

I am not sure if I am going right way, but I wanted to compare the exact upstream scene states. So, lets say, cache was made yesterday with some upstream parameter value 0.5, then today (in new session) manually changed to 1.0 (to preview without cache), then manually back to 0.5 … and then, if I check the cache validity, it should say that it is valid. Maybe I should do brute force and traverse upstream with node.inputAncestors()?
  • Quick Links