nicoladanese Posted September 7, 2017 Share Posted September 7, 2017 Hey! I'm wondering what could be the best workflow for working with flip fluid, from sim to render. I mean, I have the usual setup for flip fluid with autoDopNetwork, particle_fluid and particle_interior. In my very simple workflow I made 2 steps: 1- I wrote to disk my flip sim using the "import_particle" Dop I/O node under the particle_fluid node. This way I have my sim cached out, then 2- I wrote to disk the "particlefluidsurface" mesh using the "surface_cache" node, still under particle_fluid node, then 3- I render What do you think? Any suggestion? I'm wondering if there's a way of doing all of these steps in one go so I can launch the process overnight and find my sim cached and my render done the morning after cheers! Quote Link to comment Share on other sites More sharing options...
jamesr Posted September 8, 2017 Share Posted September 8, 2017 That's the standard workflow using the shelf tools, which should be just fine. If you want to go straight from sim --> rendered frames overnight, you can set up a dependency of fetch nodes inside a ropnet. A "Fetch" ROP simply looks for a "ROP Output Driver" to render. If you have multiple fetch nodes piped into a "merge" ROP, it will render them in order left to right. I would suggest: Make 2 Fetch ROPs and 1 Mantra ROP, and a Merge. Name them something useful (ie: "fetch_flip_particles", "fetch_surface", etc) In the first Fetch, click the dropdown and navigate to the filecache node that write the flip particles. Inside that, there's an Output Driver called "render". Select that one. In the second Fetch, do the same, but for the flip surface cache. Configure your desired mantra render settings in the Mantra ROP From left to right, wire the nodes particles, surface, render. Order counts! On the merge node, hit the Render flag button on the right. Important! There's an option that says "Frame by Frame". You will want to change this to "node by node", so that each node is dependent upon the one to the left of it to finish before it can start. Grab a beer, have a nap, and return in a few hours to comp your frames! You can do this with any cache that depends on another to be finished in order to produce desired results. I hope this helps. 1 Quote Link to comment Share on other sites More sharing options...
nicoladanese Posted September 11, 2017 Author Share Posted September 11, 2017 (edited) Hey James thanks for your help! I'll give it a go asap and let you know! awww...step 7 is definitely my goal for this! Edited September 11, 2017 by nicoladanese Quote Link to comment Share on other sites More sharing options...
nicoladanese Posted September 12, 2017 Author Share Posted September 12, 2017 Hey I have 2 questions... first, is this setup correct (see attached image) ? second, I don't get one thing: in this way we cache the particles to disk and we do the same for the mesh, but we're not telling to those nodes to actually read the cache from disk. I mean, after I manually write a cache on one of these nodes I check the "load from disk" checkbox to enable the "reading" of the cache. How this setup is supposed to deal with this?Am I missing something? cheers! Quote Link to comment Share on other sites More sharing options...
jamesr Posted September 12, 2017 Share Posted September 12, 2017 That looks correct. You can leave "load from disk on" even if there's nothing on disk. It will error at first bc there's nothing there, then it will write and load from that location. Quote Link to comment Share on other sites More sharing options...
nicoladanese Posted September 14, 2017 Author Share Posted September 14, 2017 great thanks! now time for step 7 "Grab a beer, have a nap" 1 Quote Link to comment Share on other sites More sharing options...
nicoladanese Posted September 18, 2017 Author Share Posted September 18, 2017 btw, I'm looking into gridmarkets for cloud sim/renders...do you know if this setup will work on gridmarkets too? I'm looking into their tutorials and they use a slightly different approach, using the "batch" instead of the "merge" , here's a link http://www.gridmarkets.com/submission Quote Link to comment Share on other sites More sharing options...
jamesr Posted September 18, 2017 Share Posted September 18, 2017 Yup! They've got some example scene files you can download, too. Quote Link to comment Share on other sites More sharing options...
nicoladanese Posted September 19, 2017 Author Share Posted September 19, 2017 great! thanks again! 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.