Re: ocio2icc - Can I Create An ICC Profile From An Existing 3dl/csp LUT?


dbr/Ben <dbr....@...>
 

With "mylut.csp", and the following saved as "example.yaml" (http://pastie.org/2523829 incase the formatting is screwed up):


ocio_profile_version: 1

# Look in current working dir for LUT
resource_path: "."

roles:
  scene_linear: ref

displays:
  blah:
    - !<View> {device: blahview, name: ref, colorspace: ref}

colorspaces:
  - !<ColorSpace>
    name: ref
    family: ref
    bitdepth: 32f
    isdata: false

  - !<ColorSpace>
     name: mylut
     family: mylut
     bitdepth: 32f
     isdata: false

     from_reference: !<FileTransform>{src: mylut.csp, interpolation: linear}


Then run:

ociobakelut --iconfig example.yaml --inputspace ref --outputspace mylut --format houdini out.lut

..or:

ocio2icc --iconfig example.yaml --inputspace ref --outputspace mylut out.icc


Not entirely straight forward, would be nice to specify a file as an argument to ociobakelut (or maybe a separate ocioconvertlut?)

On 13/09/2011, at 6:06 AM, Jordan Soles wrote:

Hi Jeremy,

Thanks very much for your response and it would be absolutely amazing if you could add that option into to specify a 3D lut path.

If that's a fairly substantial amount of work, is there a way to work-around it for now by just defining it in the ocio profile?

Thanks,
Jordan

Join ocio-dev@lists.aswf.io to automatically receive all group messages.