ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/px/Makefile
(Generate patch)

Comparing ray/test/px/Makefile (file contents):
Revision 1.1 by greg, Tue Jun 30 23:52:50 2020 UTC vs.
Revision 1.11 by greg, Wed Oct 9 01:30:14 2024 UTC

# Line 5 | Line 5
5  
6   HDR_CMP = radcompare -rms 0.07 -rel 1e-6 -max 0.2
7  
8 < IMG_CMP = radcompare -h -rms 0.03 -rel 0.03 -max 0.07
8 > IMG_CMP = radcompare -h -rms 0.03 -rel 0.007 -max 0.2
9  
10 < all:    test-pfilt test-pvalue test-ra_tiff test-normtiff test-pcompos \
11 < test-protate test-pflip
10 > all:    test-pfilt test-pvalue test-ra_tiff test-pcompos \
11 > test-protate test-pflip test-ra_bmp test-ra_xyze test-pcond \
12 > test-ra_t16 test-ra_t8 test-ra_rgbe test-ra_ppm test-pextrem \
13 > test-pcomb test-pinterp test-psign test-falsecolor test-ra_ps \
14 > test-ra_gif
15  
16   clean:
17 <        rm -f test.hdr test24.hdr test24.tif test32L.tif \
18 < norm24.tif norm8.tif pcompos.hdr
17 >        rm -f test.hdr test24.hdr test24.tif test32L.tif pcomb.hdr \
18 > norm24.tif norm8.tif pcompos.hdr pcondh.hdr test_extrema.txt psign.hdr \
19 > pinterp.hdr false.hdr ra_ps.ps test8.tga test8.gif
20  
21 + test-pcond:     test.hdr
22 +        pcond -h test.hdr pcondh.hdr
23 +        $(IMG_CMP) ref/pcondh.hdr pcondh.hdr
24 +        rm -f pcondh.hdr
25 +
26 + test-pcomb:     test.hdr
27 +        pcomb -e 'm=1/(gi(1)+.1);ro=gi(1)*m;go=bi(1)*m;bo=ri(1)*m' \
28 + test.hdr > pcomb.hdr
29 +        $(HDR_CMP) ref/pcomb.hdr pcomb.hdr
30 +        rm -f pcomb.hdr
31 +
32 + test-ra_xyze:   test-pfilt
33 +
34   test-pfilt:     test.hdr
35          $(HDR_CMP) ref/test.hdr test.hdr
36  
37   test-pvalue:    test24.hdr
38          $(IMG_CMP) ref/test24.hdr test24.hdr
39  
40 < test-protate test-pflip test-pcompos:   test.hdr test24.hdr
40 > test-pextrem:   test.hdr
41 >        pextrem -o test.hdr > test_extrema.txt
42 >        radcompare ref/test_extrema.txt test_extrema.txt
43 >        rm -f test_extrema.txt
44 >
45 > test-protate test-pflip:        test-pcompos
46 >
47 > test-pcompos:   test.hdr test24.hdr
48          protate -r test.hdr | pcompos -a 2 -s 10 -b 1 1 1 \
49                  '!pflip -h test24.hdr' - \
50                  '!pflip -v test24.hdr' '!protate test.hdr' > pcompos.hdr
51          $(HDR_CMP) ref/pcompos.hdr pcompos.hdr
52          rm -f pcompos.hdr
53  
54 + test-pinterp:   test.hdr
55 +        pinterp -vtv -vh 60 -vv 40 -x 200 -y 200 test.hdr 1.0 > pinterp.hdr
56 +        $(HDR_CMP) ref/pinterp.hdr pinterp.hdr
57 +        rm -f pinterp.hdr
58 +
59 + test-psign:
60 +        psign -cb .9 .4 .01 -cf .1 .2 1 -dd -h 200 -a 1.5 -s -.1 Testing > psign.hdr
61 +        $(HDR_CMP) ref/psign.hdr psign.hdr
62 +        rm -f psign.hdr
63 +
64 + test-falsecolor:        test.hdr
65 +        falsecolor -s 2e5 -log 5 -i test.hdr > false.hdr
66 +        $(HDR_CMP) ref/false.hdr false.hdr
67 +        rm -f false.hdr
68 +
69 + test-ra_rgbe:   test.hdr
70 +        ra_rgbe -e -5 test.hdr | ra_rgbe -r -e +5 | $(HDR_CMP) -w test.hdr -
71 +
72   test-ra_tiff:   test.hdr test24.hdr
73          ra_tiff test24.hdr test24.tif
74          ra_tiff -r test24.tif | $(IMG_CMP) test24.hdr -
# Line 41 | Line 83 | test-normtiff: test.hdr
83          radcompare ref/norm8.tif norm8.tif
84          rm -f norm24.tif norm8.tif
85  
86 + test-ra_bmp:    test24.hdr
87 +        ra_bmp test24.hdr | ra_bmp -r | $(IMG_CMP) test24.hdr -
88 +
89 + test-ra_t16:    test24.hdr
90 +        ra_t16 -3 test24.hdr | ra_t16 -r | $(IMG_CMP) test24.hdr -
91 +
92 + test-ra_t8:     test.hdr
93 +        ra_t8 test.hdr test8.tga
94 +        radcompare ref/test8.tga test8.tga
95 +        rm -f test8.tga
96 +
97 + test-ra_ppm:    test24.hdr
98 +        ra_ppm test24.hdr | ra_ppm -r | $(IMG_CMP) test24.hdr -
99 +
100 + test-ra_ps:     test.hdr
101 +        ra_ps -b test.hdr > ra_ps.ps
102 +        radcompare -c% ref/ra_ps.ps ra_ps.ps
103 +        rm -f ra_ps.ps
104 +
105 + test-ra_gif:    test.hdr
106 +        ra_gif -d -n 1 test.hdr > test8.gif
107 +        radcompare ref/test8.gif test8.gif
108 +        rm -f test8.gif
109 +
110   test24.hdr:     test.hdr
111 <        pvalue -db test.hdr | pvalue -r -db > test24.hdr
111 >        pvalue -g 2.2 -db test.hdr | pvalue -r -g 2.2 -db > test24.hdr
112  
113   test.hdr:       ../renders/sunset.hdr
114 <        pfilt -x /2.5 -y /2.5 -r .6 ../renders/sunset.hdr > test.hdr
114 >        pfilt -x 544 -y 544 -r .6 ../renders/sunset.hdr \
115 > | ra_xyze -r > test.hdr

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines