Page MenuHome

Console Rendering: -o doesn't work as specified
Closed, ArchivedPublic

Description

I'm using Blender 2.63 (sub 17) from the official Blender Builder page.
I've made a scene with animations and since I didn't have enough time to render it anymore I wanted to render it from my home, using SSH.
When I saved the file, the output path for the rendered images (animation) was set to //gfx/output.
So I ran the following command in the commandline:
blender -b myFile.blend -s 235 -e 890 -a -o /var/tmp/output/img -E cycles -F png
All of the parameters seemed to work, except for the -o parameter. It still saved the image files to //gfx/output.
To solve this issue I had to make a symbolic link called gfx in the folder containing the .blend file leading to /var/tmp/output, but this is not really a solution to this problem.
Hope this is not a duplicate and it can be fixed :)

Event Timeline

This is working as intended, though I realize its confusing.
See blenders man page or --help message:

Argument Order:
Arguments are executed in the order they are given. eg
"blender --background test.blend --render-frame 1 --render-output /tmp"
...will not render to /tmp because '--render-frame 1' renders before the output path is set
"blender --background --render-output /tmp test.blend --render-frame 1"
...will not render to /tmp because loading the blend file overwrites the render output that was set
"blender --background test.blend --render-output /tmp --render-frame 1" works as expected.
---

You need to put -a last.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Archived.Aug 14 2012, 9:49 AM