0
$\begingroup$

I need help running Blender from the command line with GPU rendering. Also, Optix must be enabled.

I read this article:

How do I do GPU rendering from the Command Line?

very much helped, but now I would like to know how to do the same with Optix

$\endgroup$
2
0
$\begingroup$

Thank you to everyone who helped! I found a solution to the problem:

-b $filename -noaudio -E 'CYCLES' -s 20 -e 170 -a -F 'PNG' -- --cycles-device OPTIX  

Explanation:

-s 20 -e 170

Set the -s start frame to 20 and the -e end frame to 170.

-a

Render the whole animation using all the settings saved in the blend-file.

-- --cycles-device OPTIX

Override the device that is used to render frames.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.