FilmLight Academy PD Log / ~ADX

An approximate negative film response using the ADX matrix and a sigmoid tone curve, mapping scene exposure into the 0–1 Cineon log range; 18% grey lands at 0.5, with a gamma of about 0.6 at the mid point.

Fig. 1: FilmLight Academy PD Log / ~ADX encoding curve, L = 0.18 × 2^stops.

No chromaticity diagram here: its chromaticity is the same borrowed “relative exposure” space as ADX, and this curve's own black/white landings disagree with the file header (see below).

The “black / white point” of 82 / 649 is the .flspace header (inherited from ADX), not this curve's landing points — by the formula on this page, linear 0 encodes to 0.0000 (code 0) and linear 1.0 to 0.7021 (code 718).

Transfer function

CurveFilmLight-PD-log
Black / white point (10-bit code values)82 / 649
Linear 0 → code0.0000
18% grey → code0.5000
Linear 1.0 → code0.7021

Encoding: convertFromLinear

vec4 convertFromLinear(vec4 val, int clip)
{
    vec3 c = sqrt(max(val.rgb/0.18, 0.0));

    c.r = c.r < 3.0 ? c.r / (1.0 + c.r) : (c.r + 9.0) / 16.0;
    c.g = c.g < 3.0 ? c.g / (1.0 + c.g) : (c.g + 9.0) / 16.0;
    c.b = c.b < 3.0 ? c.b / (1.0 + c.b) : (c.b + 9.0) / 16.0;
        
    c = c * mat3(
        1.3580865, -0.3071140, -0.0509725,
       -0.0907881,  1.0493158,  0.0414723,
       -0.2777791, -0.0368331,  1.3146122);

    return vec4(c, val.a);
}

Decoding: convertToLinear

vec4 convertToLinear(vec4 val)
{
    vec3 c = val.rgb * mat3(
       0.75573,  0.22197,  0.02230,
       0.05901,  0.96928, -0.02829,
       0.16134,  0.07406,  0.76460);

    c.r = c.r < 0.75 ? c.r / (1.0 - c.r) : 16.0*c.r - 9.0;
    c.g = c.g < 0.75 ? c.g / (1.0 - c.g) : 16.0*c.g - 9.0;
    c.b = c.b < 0.75 ? c.b / (1.0 - c.b) : 16.0*c.b - 9.0;

    c = pow(max(c, 0.0), vec3(2.0));

    return vec4(c*0.18, val.a);
}

An approximate entry in the FilmLight library that uses the ADX matrix plus a sigmoid curve to model a negative’s response to scene exposure:

This is an approximate negative film response using the Academy Density Exchange (ADX) matrix and a sigmoid tone curve. It maps the positive scene exposure range into the 0-1 Cineon log range. The scene 18% grey is mapped to the 50% output (negative density 1.0), with a gamma value of about 0.6 at the mid point. Reference white at 63%

There is no public specification; every number below comes from the .flspace.

toLinear:  c = rgb × CDD→CID
           c = c < 0.75 ? c/(1−c) : 16c−9
           c = c² × 0.18

Each claim in the description can be checked directly:

  • 18% grey → 0.5: feed 0.5 into the chain — 0.5/(1−0.5) = 1, squared and multiplied by 0.18 gives 0.18.
  • mid-point gamma ≈ 0.6: the logarithmic slope of the sigmoid around 0.5, as the file states.
  • linear clip above 0.75: 16c−9 extends the tangent of c/(1−c) at 0.75. That point corresponds to c₀ = 3, i.e. relative exposure 1.62 (18% × 9), which the file comment calls “3× the native white point”. The clip exists to keep the inverse transform from producing odd results at extreme scene values.

The encode direction (convertFromLinear) normalises by 0.18, takes a square root, applies c/(1+c), then multiplies by the inverse of the ADX matrix. 18% grey therefore lands at 0.5 and linear 1.0 at 0.7021.

Both use the same matrix (the ADX CDD → CID) and the same primaries, but the non-linearity sits in a different place:

ADX     : code → (density domain) matrix → density/exposure LUT → exposure
PD Log  : code → (code domain) matrix    → sigmoid              → exposure

So this is not “ADX at another bit depth” but a different modelling path: ADX applies its non-linearity in the density domain, this one in the code domain.

The header says BlackPoint = 82, WhitePoint = 649, the same as ADX, with a reference white of 63% (649 / 1023). Neither number holds for this curve: by the formula above, linear 0 encodes to 0.0000 (code 0) and linear 1.0 to 0.7021 (code 718); 82 and 649 correspond to linear 0.0014 and 0.54.

The likely reason is inheritance from the ADX file — there 82 / 649 are the code values where relative exposure 0 and 1.0 land, and this curve has a different scale. The “black / white point” row keeps the header’s original values so they can be compared with the .flspace; use the three encoded values 0.0000 / 0.5000 / 0.7021 when reading the curve.

The file labels its gamut “~ADX”, i.e. an approximation of ACES ADX; the primaries are the same as ADX10 / ADX16, which is the ACES “relative exposure” space, not a film gamut. The full derivation is on the ADX10 page. Because the matrix acts in the code domain and is followed by the sigmoid, the whole code range passes through the same curve and the channel balance is reshaped — so even if a diagram were drawn, it could not serve as a boundary.