Using ephemerals to select variants #1546
Replies: 1 comment 1 reply
-
Interesting, my intuition tells me that what you expect is what I would expect too. But I've never used ephemerals before so maybe I'm missing something. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm attempting to setup a package for ACES configurations and have run into a issue where ephemerals in variants do not act like I expected.
See the following packages.py
The ocio_configs package are the configs avialable from the OCIO Github
My intent was to use ephemerals and variants as a kind of switch to allow the correct .ocio file to be set.
e.g. if the user requests
rez-env aces rez-env aces-1.3 .colorspaces-1
, then I thought it would automatically pick up the variant involving.colorspaces-1.0.0
, resulting in choosing theocio_configs\2.1.0\OpenColorIO-2.1.0\src\OpenColorIO\builtinconfigs\configs\cg-config-v1.0.0_aces-v1.3_ocio-v2.1.ocio
file. However, this is not the case as the ephemeral is just passed as is and has no effect on the variant chosen. So the .ocio file is actuallyocio_configs\2.1.0\OpenColorIO-2.1.0\src\OpenColorIO\builtinconfigs\configs\cg-config-v1_aces-v1.3_ocio-v2.1.ocio
So I'm guessing that the ephemerals in combination with variants do not act this way? If not, is there another way I can achieve the same thing?
Beta Was this translation helpful? Give feedback.
All reactions