Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write OCIO CDLs #7

Open
shidarin opened this issue Apr 20, 2014 · 2 comments
Open

Write OCIO CDLs #7

shidarin opened this issue Apr 20, 2014 · 2 comments
Assignees
Milestone

Comments

@shidarin
Copy link
Owner

Need to be able to write OCIO CDL transforms as nuke importable nk files.

@shidarin shidarin self-assigned this Apr 20, 2014
@shidarin shidarin added this to the Beta milestone Apr 20, 2014
@shidarin shidarin modified the milestones: Release, Beta May 4, 2014
@shidarin
Copy link
Owner Author

A sample OCIO cdl transform from nuke:

OCIOCDLTransform {
  slope {1.8171 1.8329 1.8520}
  offset {-0.2799 -0.2299 -0.1501}
  power {0.7143 1.0291 1.4145}
  saturation 1.212
  name 115_216_CDL
}

@shidarin
Copy link
Owner Author

This regex works for finding the node, in the simple example above:

(OCIOCDLTransform {[\.\-\w\d\s{}]+?name) ([\w\d]+)\n}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant