Page 1 of 1

command line rendering [solved]

Posted: Mon Nov 09, 2015 12:12 pm
by wendy_jo_adams
Dear Octane users –

I’m trying to batch render by launching from command line.

I have a scene saved: SceneFile.ocs

It contains multiple mesh objects, connected via a geometry group to a render target. 
Using command line tools I want to replace JUST ONE of the mesh objects (mesh_old.obj) with another one (mesh_new.obj) then render the whole geometry group. 
 When I run the code below, then mesh_old gets replaced by mesh_new, but I lose the other objects connected to RenderTarget.

octane.exe -q –e -s 1000 “SceneFile.ocs” -t "RenderTarget" –m "mesh_old.obj" -r “mesh_new.obj” --output-exr "NewFile.exr";

Any help, preferably with an example, would be much appreciated.

Thanks, Wendy

Re: command line rendering

Posted: Tue Nov 10, 2015 12:26 am
by abreukers
wendy_jo_adams wrote:Dear Octane users –
octane.exe -q –e -s 1000 “SceneFile.ocs” -t "RenderTarget" –m "mesh_old.obj" -r “mesh_new.obj” --output-exr "NewFile.exr";
hi wendy try this one and see how it goes:

Code: Select all

octane-cli.exe -q -e -R "mesh_old.obj=assets\mesh_new.obj" -t "RenderTarget" -s 1000 -o "NewFile.exr" "SceneFile.ocs"

Re: command line rendering

Posted: Tue Nov 10, 2015 4:31 pm
by wendy_jo_adams
Thank you very much - that works!

I had to delete the 'assets\' part, but then all was good.
(I'm using version 1.55, btw).

Thanks, Wendy