Hello,
Ryan Daniels linked in his post (Valid C4D Redshift After Effects ACES workflow? - #12 by rdaniels29)
to the Redshift OSL Shader Github repo: GitHub - redshift3d/RedshiftOSLShaders
It’s really fantastic, because that makes ACES in Cinema4D / Redshift so much easier. But I have a assumption, that there is something wrong in the transforms.
I tried the ACESGamutConvert.osl in CINEMA4D and found by eye that the result is different for sRGB and REC709.
And I mean different in color. Not in gamma.
I am abolutely no programmer, but by taking a look into the code I see a different matrix for sRGB and REC709.
As far as I learned from Charles Poynton those two share the same primaries and therefore the matrices should be the same.
The texture fed to the OSL node should be already linear if I understand the shadernodes in Redshift correctly.
In the code is:
// sRGB
{ 0.6131, 0.0701, 0.0206, 0,
0.3395, 0.9164, 0.1096, 0,
0.0474, 0.0135, 0.8698, 0,
0, 0, 0, 1 },
// Rec. 709
{ 0.6131, 0.0701, 0.0206, 0,
0.3395, 0.9163, 0.1095, 0,
0.0473, 0.1345, 0.8698, 0,
0, 0, 0, 1 },
So is that just wrong or what do I do wrong with it
Is there a “official” resource for such matrix values? For sRGB to AP1 for example?
Thanks for your help!
Peter