OCIO version error and difficulties to update it

   214   1   1
User Avatar
Member
5 posts
Joined: Dec. 2016
Offline
Hello,

We are currently running into an issue where we have an error because of OCIO not able to load the base configuration. When going to the Edit - Preferences - OCIO Config we're running into the error I linked. Apparently it is a config version issue but we're not able to update it at some point. The only pages we're finding are just stuff to compile manually.

Do you have any idea on how we can solve this ?

Attachments:
Captuaaare.PNG (65.9 KB)

User Avatar
Member
183 posts
Joined: Jan. 2015
Offline
You can change OCIO config with Python, like the Python Source Editor. If the UI is not working. Just remember that the code you have in Python Source Editor, will run every time Houdini open the scene file that has some code in the Python Source Editor. Best to remove the code after you don't need to run it anymore.

import os
import hou

os.environ["OCIO"] = "PATH/TO/YOUR/config.ocio"

hou.Color.reloadOCIO()

You don't need to compile anything. You just need a config that is not newer than the version Houdini ships with.

If you are using config that ships with the same Houdini version you are using you should be fine. But if you are loading the config that ships with 20.5 in an older version of Houdini problems will arise.

You can download official OCIO configs from here [github.com] btw.
Edited by Heileif - Dec. 13, 2024 09:52:55
  • Quick Links