I’m quite used to rendering via the command line in other software and I wanted to start doing this with shake ages ago but I never looked into it because a lot of the time I just like to select a node and render that instead of always making fileout nodes.
But I’m getting far too many hang ups this way and it’s driving me a bit crazy so I need to start doing command line rendering. Also, I often just render a disk flipbook for the reason that on occasions, a fileout won’t overwrite a quicktime output. It will go through the render and I find that it hasn’t updated the file. If I delete the file first, it will always work but I can’t always make sure of that.
The disk flipbook is annoying because if you close the window, it deletes the temp file immediately and I often work on shared machines and the ass I work beside likes to shut things down without saving things.
Ideally, I’d like to be able to render a given node and then specify a fileout in the command line - I’d probably use a .sh file or I can use python.
Now, I tried a lot of examples online and at cgtalk and they are not working.
I try:
shake -cpus 4 -vv -render test -t 1-50 -exec <drag in shake script>
It starts running on one CPU as it loads the script and for some reason warns me about missing inputs even though they are not part of the tree I’m rendering. The render then starts and shows me progress at every frame but I notice that it’s only using one CPU despite the fact I’ve said to use all four.
It’s also supposed to be rendering the fileout node named test, which outputs a quicktime movie. When I look in the location, there is no output rendered. Oddly the same thing happens if I render the fileout from inside shake. The viewer shows but no file is created and no errors given, permissions are fine. I’m just testing this on different machines and none of my fileouts are generating now. No matter where I put the fileout node or what settings I use, it’s going through the render but not writing out the file. Could one of the custom nodes have broken the fileout?
It’s for those reasons I’ve been using disk flipbook and it’s just getting ridiculous, I can’t keep rendering that way but the other ways aren’t reliable enough. I also notice that even if you specify a particular node to render via the command line, it will still load all the files from other trees into ram. This seems really inefficient, why can’t it just open the upstream nodes from the one you want to render?