Simple commandline for rendering in Octane?

Generic forum to discuss Octane Render, post ideas and suggest improvements.
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
Post Reply
BCres
Licensed Customer
Posts: 246
Joined: Mon Feb 20, 2017 6:14 pm

I have three .orbx projects set up and ready for rendering in Octane 4. Is there a simple commandline to load these one-by-one and render them (without a gui) then move onto the next when finished?

I have tried:

"C:\Program Files\OTOY\OctaneRender 4.00 RC7\octane.exe" --no-gui -e -o "PATH TO FILE.orbx"
"C:\Program Files\OTOY\OctaneRender 4.00 RC7\octane.exe" --no-gui -e -o "PATH TO 2nd FILE.orbx"

But all this does is open the program and not render anything.

I know commandline is not really supported anymore, but the lua scripting seems overly complicated to just run a couple of projects back to back.

BTW, I'm really impressed with Octane 4 and the denoiser. It helps tremendously on motion blur among other things. Also, I'm using the standalone because rendering with the C4D commandline requires I add a file name so I get both the Beauty and DeMain beauty (and I only want the second.) Plus it runs incredibly fast compared to C4D's render.

Any help would be appreciated. Othwerwise I'll just do them one at a time. Thanks.
BCres
Licensed Customer
Posts: 246
Joined: Mon Feb 20, 2017 6:14 pm

So I figured out how to get it to run the program and open the batch render with all of the settings I had already input.

I just need to know how to modify the inbuilt Batch render lua script to automatically click the start button. (I have already made a copy of it I can modify.
rrbarb
Licensed Customer
Posts: 88
Joined: Wed Feb 26, 2014 1:40 am

You need a trigger that addresses the renderTarget. Can be done with a very small Lua. Then add to use that in command line. --script
./rrb
BCres
Licensed Customer
Posts: 246
Joined: Mon Feb 20, 2017 6:14 pm

Thanks, rrbarb, that's the part I couldn't figure out last night. what that little lua script should say. I did have the --script switch in my commandline, but I could never figure out the proper render target name. It kept throwing up errors when it would execute.

I have to move onto my projects but I'll get back to this next week. Thanks, again.
rrbarb
Licensed Customer
Posts: 88
Joined: Wed Feb 26, 2014 1:40 am

BCres wrote:Thanks, rrbarb, that's the part I couldn't figure out last night. what that little lua script should say. I did have the --script switch in my commandline, but I could never figure out the proper render target name. It kept throwing up errors when it would execute.

I have to move onto my projects but I'll get back to this next week. Thanks, again.
I will PM you the details in the morning
./rrb
BCres
Licensed Customer
Posts: 246
Joined: Mon Feb 20, 2017 6:14 pm

Thank you, rrbarb. That's much more than I expected.
rrbarb
Licensed Customer
Posts: 88
Joined: Wed Feb 26, 2014 1:40 am

Depending on what you need to do, you can include lua scripts into the commandline with --script D:\myScripts\ascript.lua an then if needed inject variables to that using -a

Or if you prefer, you can skip the script and just call the "render target" in the commandline with -t "Render target" Where the name of the Render target as it is seen in standalone
is quoted for use. I think this is more what you are after- at least at this point.

./rrb
protovu
Licensed Customer
Posts: 476
Joined: Thu Sep 11, 2014 7:30 pm

I know this is an ooooold post, but I have recently discovered Loom which is very handy commandline render through their batch queue. I use Blender/Octane.
User avatar
bepeg4d
Octane Guru
Posts: 10321
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

protovu wrote:I know this is an ooooold post, but I have recently discovered Loom which is very handy commandline render through their batch queue. I use Blender/Octane.
Hi,
have a look at here:
viewtopic.php?f=73&t=70855#p403251

ciao,
Beppe
Post Reply

Return to “General Discussion”