Revision: | 1.1 |
Committed: | Sat Feb 22 02:07:21 2003 UTC (21 years, 3 months ago) by greg |
Branch: | MAIN |
CVS Tags: | rad5R2, rad4R2P2, rad5R0, rad5R1, rad3R7P2, rad3R7P1, rad4R2, rad4R1, rad4R0, rad3R5, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1 |
Log Message: | Changes and check-in for 3.5 release Includes new source files and modifications not recorded for many years See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release |
# | Content |
---|---|
1 | { |
2 | Warp response function for printing to avoid |
3 | contrast loss at low end. |
4 | |
5 | 9/12/97 GWL |
6 | } |
7 | PrintPivot: .05; { print pivot point } |
8 | OrigPivot: .025; { original pivot point } |
9 | |
10 | map(v) = if( v - OrigPivot, |
11 | (v-OrigPivot)*((1-PrintPivot)/(1-OrigPivot)) + PrintPivot, |
12 | v*(PrintPivot/OrigPivot) ); |
13 | |
14 | ro = map(ri(1)); |
15 | go = map(gi(1)); |
16 | bo = map(bi(1)); |