How can I batch caches to go one after another

   5856   5   1
User Avatar
Member
52 posts
Joined: 5月 2018
オフライン
Hi, I am sure this is is an easy answer to answer, but I can't seem to find how to batch file caches together so they cache one after another.

Basically, so that when I let stuff cache overnight that it goes in sort of a chain-like method, if that makes sense.

I know you can batch render ROPs together, and so I want to do that exact same idea but with caches.

All ideas are greatly appreciated!

Thanks!
User Avatar
Member
9402 posts
Joined: 7月 2007
オンライン
Fetch them using Fetch ROP, chain those Fetch ROPs together and render

Or similarly using TOPs and ROP Fetch TOP
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
52 posts
Joined: 5月 2018
オフライン
@tamte, Is this what your talking about? I tried it but it docent seem to work.

Attachments:
Screen Shot 2019-07-06 at 6.58.36 PM.png (29.4 KB)

User Avatar
Member
9402 posts
Joined: 7月 2007
オンライン
what does it mean not working?
if each Fetch ROP points to the “render” ROP Geometry Output SOP node inside each of your File Cache SOPs
and you have Load From Disk checked on File Cache SOPs, then it should render them in that order and load from those caches to produce next cache

also in case you have any sims in there, make sure to set Dependency Order to Node By Node
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
10 posts
Joined: 9月 2018
オフライン
Hello guys,

I'm having issues with a fetch node that is supposed to run after a dopimport node. All file cache nodes work very quickly and as they should when "Save to File" is clicked for each individual node.

When I try to run them through the fetch tree something stops working.

Quick Summery:

1. The first File Cache node is saving out a heavy boolean fracture. No issue.

2. The second File Cache node is saving out a simulation that should be running from the precached fractured geo.

Issue: The second file cache node seems to be running through the heavy boolean fracture for each frame instead of reading from the cache from first File Cache node.



I hope I explained this well enough!


Please let me know if I've done something wrong, I've spent hours trying to figure it out. For some reason I can make it work on very optimised geo but I think that is just because the boolean fracture is happening instantaneously.


Cheers!

Attachments:
Nodes.JPG (167.4 KB)
Booleanfracture.JPG (65.6 KB)
Loading Bar.JPG (23.3 KB)

User Avatar
Member
3 posts
Joined: 6月 2021
オフライン
Hej Hacker_link,
This response comes a bit late, but it might help others.

I think your problem is that the ropfetch top will automatically start a few simulations, running them in parallel instead of one after the other.

To fix this I went to the LocalScheduler node and in the "Job Parms" tab, turned on "single" (scheduling).
Now it does one simulation after the other.

This helped me a lot since I didn't have enough RAM to run 6 simulations. However, I didn't notice any increase in speed, even tho my CPU is working at 100%

If anyone knows how to make the simulation predictably faster while running sims one after the other, please let me know.
  • Quick Links