Replies: 2 comments
-
There are various ways, but it depends both on how your OCIO config is authored as well as how your media is named on disk. If you are using the built-in ocio_source_setup package, then out of the box I think it will automatically configure source colour spaces using the old v1 method which looks for colour space names towards the end of the file name. And the display/view will automatically be whichever is the first ones defined in your config. But if your config has "active_displays" and/or "active_views" defined, it will use the first in those lists instead. So you might have to make some changes to your config. Now if you aren't using v1 style file naming, then you will need to do a bit of python coding to get it to work. The easiest thing to do is to create a file somewhere in your PYTHONPATH named "rv_ocio_setup.py". Then copy into that file the functions "ocio_config_from_media" and "ocio_node_from_media" out of the "ocio_source_setup.py" file within RV's bundle. Then in your newly created "rv_ocio_setup.py" file look for the line that looks like:
and change that line to be
That will cause OCIO to ue the v2 file rules defined in the config to determine the appropriate colour space for your media. You can look at the OCIO docs for how to set those up: File & Viewing Rules But if you are comfortable coding in python, then you can get quite creative inside that "ocio_node_from_media" function. |
Beta Was this translation helpful? Give feedback.
-
Thanks for that response. It's super helpful! I know a bit of Python so hopefully I can get it working. It's the kind of thing that preferences should be able to handle though isn't it? |
Beta Was this translation helpful? Give feedback.
-
Hi There,
I have OCIO working in openRV..which is great...BUT....each time I open a sequence I have to make sure that it's active and set up correctly in the sequence and in the display. Is there an easy way to make this automatic so that I don't have to click 5 times every time I open a sequence to ensure that I'm looking at Aces CG?
Thanks
M
Beta Was this translation helpful? Give feedback.
All reactions