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

Adsk Contrib - Add DCDM displays and improve HLG OOTF implementation #2051

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

doug-walker
Copy link
Collaborator

Add SDR and HDR DCDM built-in displays, which are in the set of Output Transforms recommended by ACES 2.

Improve the Rec.2100 surround algorithm used for the Rec.2100-HLG OOTF and EOTF:

  • Fix an issue with the inverse
  • Mirror the result around the origin for negative values

Signed-off-by: Doug Walker <doug.walker@autodesk.com>
Signed-off-by: Doug Walker <doug.walker@autodesk.com>
CreateGammaOp(ops, gammaData, TRANSFORM_DIR_FORWARD);
};

registry.addBuiltin("DISPLAY - CIE-XYZ-D65_to_DCDM-D60-BFD",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this display intended to be used with the ACES2 Builtins (same for the HDR variant)? Note that there is no CAT to D65 performed at the moment in the ACES2 builtins, which I believe was handled similarly in ACES 1.x D60 transforms. Please let me know if I need to update something on the ACES2 PR side.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's intended to be used for the ACES 2 config. But I think what you're proposing is that you would use the "DISPLAY - CIE-XYZ-D65_to_DCDM-D65" for both the D65 and D60 view transforms. The D60 version will essentially have a "D60 sim" type of skew to it. I will remove the D60 versions.

{
auto CIE_XYZ_D65_to_ST2084_DCDM_D65_Functor = [](OpRcPtrVec & ops)
{
// Scale 1.0 in the reference space to 0.48. The PQ function will interpret
Copy link
Collaborator

@remia remia Sep 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the scaling related to ACES2 linear_scale_factor? Because it is already applied in the ACES2 builtins. Sorry if I'm getting confused here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are totally right, the scaling actually makes no sense here for several reasons. Removed!

Signed-off-by: Doug Walker <doug.walker@autodesk.com>
Signed-off-by: Doug Walker <doug.walker@autodesk.com>
Copy link
Collaborator

@zachlewis zachlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

El gee tee em!
Nice work, Doug!

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

Successfully merging this pull request may close these issues.

3 participants