I’ll explain the numbering of what I did.
- I created a text file called lowRes inside the blend file as shown in the attached image.
- And I noticed that when I click Run Script in Blender run with GUI, the resolution of all scenes is changed to 128x72.
- Then undo by pressing Ctrl + Z, set it to 1920x1080 resolution, and save the file.
- And I did the Command Line Rendering using the code below.
blender -b "my.blend" ^ -P lowRes.py ^ -S "scene 01" ^ -o "//output\##" -F PNG -f 3 ^ -S "scene 02" ^ -o "//output\##" -F PNG -f 5
05.png were generated as expected.
But the resolution is 1920x1080, not 128x72.
The python code doesn’t seem to be running.
What am I doing wrong?