I have a project with 10 different render targets. Each of them takes about 2-3 hours to render.
I wish I could leave my computer for the night or longer and just hit "render all render targets" and autosave them as png files.
Autosave render targets - please............................
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Could you be so kind and send me an example code of how to render and save two render targets at once?manalokos wrote:you can use command line batch for this. it works perfectly
Thanks.
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
If on Windows, save this to a file called batch.bat in the same folder as your ocs file.
Then double click the file. It will make a text file with the start time, and render target r1 to r1.png, target r2 to r2.png, and target r3 to r3.png. All the options are explained in the manual, but i am using -e to exit octane after each render, -q to have octane run minimized, -s 3000 to set the max samples, the width and height are obvious, -t is the name of the rendertarget, and -o is the output file name. They are being saved to an Images folder in the same folder as the ocs and the bat file.
If you need to interrupt, close the cmd window and then the active Octane window.
Edit: Obviously, you may have to modify the path to Octane in each line based on your version.
Code: Select all
time /t > Images\started.txt
"C:\program files\OTOY\OctaneRender 1.10\octane.exe" -e -q -s 3000 --film-width 1440 --film-height 900 -t r1 -o Images\r1.png project.ocs
"C:\program files\OTOY\OctaneRender 1.10\octane.exe" -e -q -s 3000 --film-width 1440 --film-height 900 -t r2 -o Images\r2.png project.ocs
"C:\program files\OTOY\OctaneRender 1.10\octane.exe" -e -q -s 3000 --film-width 1440 --film-height 900 -t r3 -o Images\r3.png project.ocs
If you need to interrupt, close the cmd window and then the active Octane window.
Edit: Obviously, you may have to modify the path to Octane in each line based on your version.
shelshok,
Many thanks. I'll play with the code and let you know how it goes.
Many thanks. I'll play with the code and let you know how it goes.
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540