Page 1 of 1

command line render

Posted: Wed Jul 06, 2022 4:07 pm
by Maskeline
Hello.
I have tried to render from the command line, but I get an error (I think with the OCIO) but I don't know what to do to fix it.
I leave here the CMD text

Code: Select all

C:\>blender W:\3D\temp\TestBlenderCMD\Test_Cube_v01.blend -E octane -b -s 5 -e 7
Color management: Using P:\3D_pipeline\ACES\aces_1.0.3\config.ocio as a configuration file
Blender 3.1.2 (hash 7e24bcf7dda2 built 2022-06-10 05:11:59)
Read prefs: C:\Users\javier.urosas\AppData\Roaming\Blender Foundation\Blender\3.1\config\userpref.blend
Color management: display "sRGB" used by scene not found, setting to default ("ACES").
Color management: scene view "Filmic" not found, setting default "sRGB".
Color management: sequencer colorspace "sRGB" not found, will use default instead.
OctaneBlender Engine Init
Octane Ocio Management Update Start
Octane Ocio Management Update End
Traceback (most recent call last):
  File "C:\Program Files\BlenderOctane\3.1\scripts\addons\octane\version_update.py", line 44, in do_versions
    check_color_management()
  File "C:\Program Files\BlenderOctane\3.1\scripts\addons\octane\version_update.py", line 82, in check_color_management
    bpy.context.scene.display_settings.display_device = 'sRGB'
TypeError: bpy_struct: item.attr = val: enum "sRGB" not found in ('ACES')
Clear Octane Resource Cache System
Read blend: W:\3D\temp\TestBlenderCMD\Test_Cube_v01.blend
Clear Octane Resource Cache System
OctaneBlender Engine Exit
OctaneBlender Engine Free

Blender quit
Thanks!!

Re: command line render

Posted: Tue Jul 12, 2022 10:59 am
by Maskeline
Hi...
Can anyone in support say anything about this....

Thanks!!

Re: command line render

Posted: Tue Jul 12, 2022 10:36 pm
by elsksa
Hi,
I'm not from OTOY support, but may be I can help.

There might be a conflict between the native "colormanagement" folder from Blender, containing Filmic OCIO (legacy) and the ACES OCIO package.

How was ACES OCIO set?
From the Octane preferences, environment-variable, else?

Some additional information:
• The ACES version used (1.0.3) is "deprecated" (not the latest).
Octane Blender Color Management Guide
Octane Color Management Guide
Octane ACES Guide

Re: command line render

Posted: Mon Jul 18, 2022 10:27 am
by Maskeline
Hi...
Thanks a lot!!
We are using version 1.03 of ACES...
We also have the same ACES configuration in Bleder (for cylces).
We have set the variable OCIO in the user variables... But I don't know if there is another one specific for octane OCIO....

Re: command line render

Posted: Tue Jul 19, 2022 3:01 pm
by kabakZ
Hi, have you tried using the batch render addon such as loom instead of running this from the command line? For me, this solved the compatibility problem.