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

Comparing ray/test/renders/Makefile (file contents):
Revision 1.9 by greg, Sat Dec 1 02:06:04 2018 UTC vs.
Revision 1.17 by greg, Mon Jan 7 21:11:24 2019 UTC

# Line 3 | Line 3
3   # Render and primitive type testing
4   #
5  
6 + # Number of processes to use on tests that test multi-core
7 + NPROC = 2
8 +
9   # Image reduction for comparisons
10   RDU_PFILT = pfilt -1 -r 1 -x 128 -y 128 -pa 1
11  
12   # Image comparison command
13 < IMG_CMP = radcompare -rms 0.08 -max 1.5
13 > IMG_CMP = radcompare -rms 0.07 -max 1.5
14  
15   # Default target is to test everything
16 < all:    test-xform \
17 < test-mixtex-def test-mixtex-fish test-mixtex-plan tex-mixtex-rplan \
16 > all:    test-xform test-oconv test-rad test-rfluxmtx \
17 > test-mixtex-def test-mixtex-fish test-mixtex-plan test-mixtex-rplan \
18   test-trans2-def test-trans2-fish test-dielectric-def \
19   test-dielectric-fish test-glass-def test-glass-fish test-glass-up \
20   test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \
21   test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \
22 < test-trans-def test-trans-fish test-patterns-def test-patterns-plan
22 > test-trans-def test-trans-fish test-patterns-def test-patterns-plan \
23 > test-rtrace
24  
25   clean:
26 <        rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf combined.rad
26 >        rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \
27 > *.[cg]pm{,.leaf} inst_rad.txt combined.rad rfmirror.mtx
28  
29 < # Special test of xform
29 > ### Special test of xform ###
30  
31   test-xform:     combined_scene.rad
32          xform -f combined_scene.rad | grep -v '^[       ]*#' > combined.rad
33 <        radcompare ref/combined.rad combined.rad
33 >        radcompare -max 0.04 ref/combined.rad combined.rad
34 >
35 > ### Special test of rad ###
36 >
37 > test-rad:       inst.rif
38 >        rad -n -s -e inst.rif > inst_rad.txt
39 >        radcompare ref/inst_rad.txt inst_rad.txt
40 >
41 > ### Special test of oconv ###
42 >
43 > test-oconv:     inst.oct
44 >        radcompare ref/inst.oct inst.oct
45 >
46 > ### Special test of rtrace ###
47 >
48 > test-rtrace:    ref/mirror_fish.hdr  rtmirror_fish.hdr
49 >        $(RDU_PFILT) rtmirror_fish.hdr | $(IMG_CMP) -h ref/mirror_fish.hdr -
50 >
51 > rtmirror_fish.hdr:      mirror.oct
52 >        rad -v 0 mirror.rif OPT=mirror.opt
53 >        vwrays -ff -vf fish.vf -x 2048 -y 2048 | rtrace -n $(NPROC) @mirror.opt \
54 > -ffc -x 2048 -y 2048 mirror.oct | pfilt -1 -e +3 -r .6 -x /2 -y /2 \
55 > > rtmirror_fish.hdr
56 >        rm -f mirror.opt
57 >
58 > ### Special test for rfluxmtx (and rcontrib) ###
59 >
60 > test-rfluxmtx:  ref/rfmirror.mtx rfmirror.mtx
61 >        radcompare -max .4 -rms .05 ref/rfmirror.mtx rfmirror.mtx
62 >
63 > rfmirror.mtx:   mirror.rad dummysky.rad basic.mat diorama_walls.rad \
64 > closed_end.rad front_cap.rad glass_pane.rad antimatter_portal.rad
65 >        rfluxmtx -n $(NPROC) -ab 2 -lw 1e-4 mirror.rad dummysky.rad \
66 > basic.mat diorama_walls.rad closed_end.rad front_cap.rad \
67 > glass_pane.rad antimatter_portal.rad > rfmirror.mtx
68  
69   ### Octree for dielectric ###
70  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines