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

refacto(ocio): config overhaul #35

Draft
wants to merge 44 commits into
base: main
Choose a base branch
from
Draft

refacto(ocio): config overhaul #35

wants to merge 44 commits into from

Conversation

MrLixm
Copy link
Owner

@MrLixm MrLixm commented Apr 21, 2024

Bif refactoring of the config

Changelog

Added

  • Introduce config variants and an OCIO v2 variant of the config: same config as v1 but taking benefit of specific OCIO v2 feature. Benefits are:
    • remove allocation vars (OCIO GPU engine)
    • use proper clamp in AgX Log
  • BT.2020 colorspace, with linear transfer-function

Changed

  • Simplified family for "view" colorspaces
  • ! new colorspace naming convention:
    • we try to follow the convention {gamut name}-{transfer function}(-{whitepoint}) so Linear sRGB become sRGB-linear
    • introduce the concept of "Image colorspace". An output-refered colorspace that include image and display rendering with an optional look.

Chore

  • split the build script into multiple modules to make code maintenance/browsing easier
  • introduce the variant concept in build script
  • automatise the generation of <View> and their colorspaces (Image Colorspaces)

@MrLixm MrLixm added the enhancement New feature or request label Apr 21, 2024
@MrLixm MrLixm self-assigned this Apr 21, 2024
MrLixm added 16 commits April 21, 2024 19:30
- this reduce code duplication.
- the initial need is that we want each `view` to have its own colorspaces defined, for software that don't expose `views` in export options.
   - this mean we need to build a matrix of display colorspaces x image renderings x looks
   - we call those colorspaces "image colorspaces" as they produce a viewable image.
- we also renamed other colorspaces to have a more consistent and subjectively better naming convention
this is a breaking change fully changing the look over the previous version.
this is the result of multiple month of research based on other people work around AGX and image rendering.
the prototype of the rendering was achieved in nuke for fast iteration.

The new rendering:
- assume a BT.2020 working space
- use a double inset which wrap a new "luminance compensation" algorithm (whatever that means)
- use the outset concept
renamed some colorspaces names for better readability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant