ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cal/cal/reinhard.cal
Revision: 1.2
Committed: Wed Nov 21 18:10:45 2018 UTC (5 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad5R4, rad5R3, HEAD
Changes since 1.1: +1 -0 lines
Log Message:
Added missing RCSid tag

File Contents

# Content
1 { RCSid $Id$ }
2 {
3 Erik Reinhard's simple global tone-operator
4 }
5 { Lwht = 1e10; { set on command line } }
6 { Lavg = .5; { set on command line } }
7 { a : 0.18; { set on command line } }
8 Lwhite : a/Lavg*Lwht;
9 L = a/Lavg*li(1);
10 sq(x) : x*x;
11 Ld = L*(1+L/sq(Lwhite))/(1+L);
12 mult = Ld/li(1);
13 ro = ri(1)*mult;
14 go = gi(1)*mult;
15 bo = bi(1)*mult;