/usr/share/radiance/reinhard.cal is in radiance-materials 4R1+20120125-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
Erik Reinhard's simple global tone-operator
}
{ Lwht = 1e10; { set on command line } }
{ Lavg = .5; { set on command line } }
{ a : 0.18; { set on command line } }
Lwhite : a/Lavg*Lwht;
L = a/Lavg*li(1);
sq(x) : x*x;
Ld = L*(1+L/sq(Lwhite))/(1+L);
mult = Ld/li(1);
ro = ri(1)*mult;
go = gi(1)*mult;
bo = bi(1)*mult;
|