This should at least help somebody quickly identify the source of this problem, 
if it comes up again.

https://github.com/OpenImageIO/oiio/pull/985


On Nov 3, 2014, at 10:12 AM, Larry Gritz <[email protected]> wrote:

> I'll modify oiiotool so that it gives an explicit message when listing color 
> spaces that indicates if it was compiled without OCIO support.
> 
>       -- lg
> 
> 
> 
> On Nov 3, 2014, at 10:09 AM, Ran Sariel <[email protected]> wrote:
> 
>> That was it. 
>> 
>> Thanks so much
>> 
>> Ran
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On 11/01/2014 11:43 AM, Larry Gritz wrote:
>>> 
>>> Oh, that's a good theory.  Try this:
>>> 
>>> make nuke     # fully clear everything
>>> make VERBOSE=1 cmakesetup
>>> 
>>> Now scroll back up and look for messages about OCIO. Did it find it? (If 
>>> so, it should say the location where it found the OCIO installation.) Or 
>>> did it report that it was building without OCIO support?
>>> 
>>> Assuming it found OCIO, then just 'make' to complete the build.
>>> 
>>> 
>>> 
>>> On Nov 1, 2014, at 11:14 AM, Ran Sariel <[email protected]> wrote:
>>> 
>>>> No, the $OCIO is defined and points to a valid config. 
>>>> Testing against the configs shipped with ocio. I still only get the 3 
>>>> "linear", "sRGB", "Rec709" color spaces.
>>>> wonder if I missed something when building oiio
>>>> 
>>>> Ran
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 14-10-31 9:05 PM, Larry Gritz wrote:
>>>>> For example, when I run "oiiotool -help", I get something like this at 
>>>>> the end:
>>>>> 
>>>>> Known color spaces: "lnf" (linear), "lnh", "lnzf", "ln16", "lnz16",
>>>>>     "lg16", "lg10", "lg8", "lgf", "gn16", "gn10", "gn8", "gnf", "rclg16",
>>>>>     "rclg10", "rclg8", "rclgf", "lgc10", "vd16", "vd10", "vd8", 
>>>>> "telecine8",
>>>>>     "vdf", "hd10", "dt8", "dt16", "cpf", "nc8", "nc10", "nc16", "nch", 
>>>>> "ncf",
>>>>>     "qt8", "srgb8", "p3dci8", "xyz16"
>>>>> Known looks: "cc", "di"
>>>>> Known displays: "DLP" (views: "Raw", "Log", "Film"*, "Film CC", "Film
>>>>>     DI"), "sRGB"* (views: "Raw", "Log", "Film"*, "Film CC", "Film DI") (* 
>>>>> =
>>>>>     default)
>>>>> 
>>>>> 
>>>>> It's behaving as if it is not seeing your OCIO configuration. So maybe 
>>>>> your $OCIO environment variable is not set to point to the config.ocio 
>>>>> file?
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Fri, Oct 31, 2014 at 6:45 PM, Ran Sariel <[email protected]> 
>>>>> wrote:
>>>>> The command I'm using is:
>>>>> 
>>>>> oiiotool /sim.exr --ch R,G,B --resize 50% --ociolook shotconfig -o sim.jpg
>>>>> 
>>>>> the known color spaces from oiiotool are 
>>>>> "linear", "sRGB", "Rec709"
>>>>> 
>>>>> That might point to the issue (the look I'm using has "AlexaV3LogC" as 
>>>>> the dst color space pre cdl in the look)
>>>>> 
>>>>> looks:
>>>>>   - !<Look>
>>>>>     name: shotconfig
>>>>>     process_space: linear
>>>>>     transform: !<GroupTransform>
>>>>>       children:
>>>>>         - !<ColorSpaceTransform> {src: Linear, dst: AlexaV3LogC}
>>>>>         - !<CDLTransform> {slope: [1.0002, 0.9439, 0.8126], offset: 
>>>>> [0.0065, 0.0001, 0.0238], power: [1.058, 1.0715, 1.0688], sat: 0.8}
>>>>>         - !<FileTransform> {src: sshore_logc_rec709_2-4.csp, 
>>>>> interpolation: linear}
>>>>> 
>>>>> 
>>>>> The AlexaV3LogC color space is defined further down on the config.ocio 
>>>>> 
>>>>> 
>>>>> Cheers
>>>>> Ran
>>>>> 
>>>>> 
>>>>> 
>>>>> On 14-10-31 5:45 PM, Larry Gritz wrote:
>>>>>> Can you tell us the exact command line that resulted in the error?
>>>>>> 
>>>>>> Also, can you do a "oiiotool -" and tell us exactly what it says at the 
>>>>>> bottom where it lists the possible color spaces?
>>>>>> 
>>>>>> 
>>>>>> On Fri, Oct 31, 2014 at 5:38 PM, Ran Sariel <[email protected]> 
>>>>>> wrote:
>>>>>> Hi
>>>>>> 
>>>>>> I'm trying to use oiiotool to do some image conversions, based on an 
>>>>>> ocio look defined in a config.ocio
>>>>>> The config checks OK (using sanityCheck from from the ocio python 
>>>>>> module, or from the ociocheck application)
>>>>>> and when loaded to an ocioLookTransform in Nuke, it works fine
>>>>>> 
>>>>>> running the oiio tool with  --ociolook lookname argument It fails with 
>>>>>> this error..
>>>>>> ERROR: --ociolook (Could not construct the color transform)
>>>>>> 
>>>>>> any tips on what is expected by the oiiotool and missing in the config?
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> Ran Sariel
>>>>>> CTO / Pipeline supervisor
>>>>>> The Embassy VFX Inc.
>>>>>> 177 West 7th Ave, 4th Floor
>>>>>> Vancouver, BC
>>>>>> Phone: (604) 696-6862 ext. 244
>>>>>> 
>>>>>> [email protected]
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Oiio-dev mailing list
>>>>>> [email protected]
>>>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> Larry Gritz
>>>>>> [email protected]
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Oiio-dev mailing list
>>>>>> [email protected]
>>>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Oiio-dev mailing list
>>>>> [email protected]
>>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Larry Gritz
>>>>> [email protected]
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Oiio-dev mailing list
>>>>> [email protected]
>>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>>> 
>>>> _______________________________________________
>>>> Oiio-dev mailing list
>>>> [email protected]
>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>> 
>>> --
>>> Larry Gritz
>>> [email protected]
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> [email protected]
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>> 
>> -- 
>> Ran Sariel
>> CTO / Pipeline supervisor
>> The Embassy VFX Inc.
>> 177 West 7th Ave, 4th Floor
>> Vancouver, BC
>> Phone: (604) 696-6862 ext. 244
>> 
>> [email protected]
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected]
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
> 
> --
> Larry Gritz
> [email protected]
> 
> 
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to