command line rendering [solved]

A public forum for discussing and asking questions about the demo version of Octane Render.
Forum rules
For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.
This is necessary to avoid this forum being flooded by spam.
Locked
wendy_jo_adams
Posts: 2
Joined: Fri Nov 06, 2015 5:54 pm

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
abreukers
OctaneRender Team
Posts: 500
Joined: Thu Aug 18, 2011 12:28 am

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"
i72630QM @ 2.00GHz | 6GB RAM | 2GB GeForce GT 540M | Win7 64bit
wendy_jo_adams
Posts: 2
Joined: Fri Nov 06, 2015 5:54 pm

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
Locked

Return to “Demo Version Questions & Discussion”